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