gam_models/
transformation_normal.rs1mod alo_replay;
28mod endpoint_normalizer;
29
30pub use alo_replay::{
33 TransformationNormalAloRowGeometry, TransformationNormalAloRowInput,
34 transformation_normal_alo_row_geometry,
35};
36pub(crate) use endpoint_normalizer::{
37 LogNormalCdfDiffDerivatives, endpoint_chain_first, endpoint_chain_fourth,
38 endpoint_chain_second, endpoint_chain_third, log_normal_cdf_diff,
39 log_normal_cdf_diff_derivatives,
40};
41
42pub(crate) use crate::custom_family::{
43 BlockWorkingSet, BlockwiseFitOptions, CustomFamily, CustomFamilyBlockPsiDerivative,
44 CustomFamilyHyperLayout, CustomFamilyJointHyperModeSelection,
45 CustomFamilyPsiDerivativeOperator, CustomFamilyWarmStart, ExactNewtonJointGradientEvaluation,
46 ExactNewtonJointHessianWorkspace, FamilyEvaluation, JointHessianSourcePreference,
47 MaterializablePsiDerivativeOperator, MaterializationIntent, ParameterBlockSpec,
48 ParameterBlockState, PenaltyMatrix, SharedCustomFamilyHyperLayout,
49 evaluate_custom_family_joint_hyper_best_mode_shared, fit_custom_family,
50 fit_custom_family_fixed_log_lambdas_from_mode_selection,
51 fit_custom_family_user_fixed_log_lambdas_from_mode_selection,
52};
53pub(crate) use crate::fit_orchestration::drivers::{
54 ExactJointEfsEvaluation, ExactJointEvaluation, ExactJointHyperSetup, SpatialFitProvenance,
55 freeze_term_collection_from_design, optimize_spatial_length_scale_exact_joint,
56 spatial_length_scale_term_indices,
57};
58pub(crate) use crate::inference::model::{
59 TRANSFORMATION_SCORE_PIT_CLIP_EPS, TransformationScoreCalibration,
60};
61pub(crate) use crate::model_types::UnifiedFitResult;
62pub(crate) use crate::penalized_projection::solve_penalizedweighted_projection;
63pub(crate) use crate::probability::standard_normal_quantile;
64pub(crate) use crate::spatial_psi_bridge::build_block_spatial_psi_derivatives;
65pub(crate) use gam_linalg::faer_ndarray::{fast_ab, fast_abt, fast_atb};
66pub(crate) use gam_linalg::matrix::{
67 DenseDesignMatrix, DenseDesignOperator, DesignMatrix, FiniteSignedWeightsView, LinearOperator,
68 PsdWeightsView, SymmetricMatrix, dense_rowwise_kronecker,
69};
70pub(crate) use gam_problem::{
71 ExactNewtonJointPsiSecondOrderTerms, ExactNewtonJointPsiTerms, ExactNewtonJointPsiWorkspace,
72};
73pub(crate) use gam_terms::basis::initializewiggle_knots_from_seed;
74pub(crate) use gam_terms::basis::{
75 BasisOptions, Dense, KnotSource, create_basis, create_ispline_derivative_dense,
76 ispline_function_penalties,
77};
78pub(crate) use gam_terms::smooth::{
79 SpatialLengthScaleOptimizationOptions, SpatialLogKappaCoords, TermCollectionDesign,
80 TermCollectionSpec,
81};
82pub(crate) use gam_problem::{
84 DriftDerivResult, HyperOperator, ProjectedFactorCache, ProjectedFactorKey,
85};
86pub(crate) use gam_runtime::resource::{MatrixMaterializationError, ResourcePolicy};
87pub(crate) use gam_terms::smooth::build_term_collection_design;
88pub(crate) use ndarray::{Array1, Array2, ArrayView1, ArrayView2, ArrayViewMut2, s};
89pub(crate) use std::cell::RefCell;
90pub(crate) use std::sync::{Arc, Mutex, OnceLock};
91
92mod config;
93mod custom_family;
94mod error;
95mod family;
96mod fit;
97mod kronecker_design;
98mod operators;
99mod penalty_scaling;
100mod psi_operator;
101mod response_basis;
102mod scop_curvature;
103mod scop_density;
104mod scop_psi;
105mod warm_start;
106
107pub use config::*;
108pub use error::*;
109pub use family::*;
110pub use fit::*;
111pub(crate) use kronecker_design::*;
112pub(crate) use operators::*;
113pub(crate) use penalty_scaling::*;
114pub use psi_operator::*;
115pub use response_basis::effective_response_num_internal_knots;
116pub(crate) use response_basis::{
117 assert_rowwise_kronecker_dimensions, build_response_basis, response_endpoint_value_bases,
118 response_floor_offsets,
119};
120pub use scop_density::*;
121pub(crate) use warm_start::*;
122
123#[cfg(test)]
124mod tests;