cnellington / Contextualized

An SKLearn-style toolbox for estimating and analyzing models, distributions, and functions with context-specific parameters.
http://contextualized.ml/
GNU General Public License v3.0
65 stars 9 forks source link

Regularization #60

Closed blengerich closed 2 years ago

blengerich commented 2 years ago

Allow for regularization on sample models by passing in a lambda function to a ContextualizedRegressionBase constructor as arg sample_model_regularizer. Default is zero_vector, defined in functions.py.

cnellington commented 2 years ago

Linking to #54