sperm.linear_model.LinearRegression#

class sperm.linear_model.LinearRegression(*, fit_intercept=True, copy_X=True, priors=None)[source]#

Ordinary least squares with coefficient shape priors.

Parameters:
  • fit_intercept (bool, default=True) – Whether to fit an intercept.

  • copy_X (bool, default=True) – Whether input validation may copy X.

  • priors (Priors or mapping, default=None) – Per-feature slope priors. A mapping is accepted as shorthand. ValueBound is not supported by this base model.