1""" 2The :mod:`sklearn.linear_model` module implements a variety of linear models. 3""" 4 5# See http://scikit-learn.sourceforge.net/modules/sgd.html and 6# http://scikit-learn.sourceforge.net/modules/linear_model.html for 7# complete documentation. 8 9from ._base import LinearRegression 10from ._bayes import BayesianRidge, ARDRegression 11from ._least_angle import ( 12 Lars, 13 LassoLars, 14 lars_path, 15 lars_path_gram, 16 LarsCV, 17 LassoLarsCV, 18 LassoLarsIC, 19) 20from ._coordinate_descent import ( 21 Lasso, 22 ElasticNet, 23 LassoCV, 24 ElasticNetCV, 25 lasso_path, 26 enet_path, 27 MultiTaskLasso, 28 MultiTaskElasticNet, 29 MultiTaskElasticNetCV, 30 MultiTaskLassoCV, 31) 32from ._glm import PoissonRegressor, GammaRegressor, TweedieRegressor 33from ._huber import HuberRegressor 34from ._sgd_fast import Hinge, Log, ModifiedHuber, SquaredLoss, Huber 35from ._stochastic_gradient import SGDClassifier, SGDRegressor, SGDOneClassSVM 36from ._ridge import Ridge, RidgeCV, RidgeClassifier, RidgeClassifierCV, ridge_regression 37from ._logistic import LogisticRegression, LogisticRegressionCV 38from ._omp import ( 39 orthogonal_mp, 40 orthogonal_mp_gram, 41 OrthogonalMatchingPursuit, 42 OrthogonalMatchingPursuitCV, 43) 44from ._passive_aggressive import PassiveAggressiveClassifier 45from ._passive_aggressive import PassiveAggressiveRegressor 46from ._perceptron import Perceptron 47 48from ._quantile import QuantileRegressor 49from ._ransac import RANSACRegressor 50from ._theil_sen import TheilSenRegressor 51 52__all__ = [ 53 "ARDRegression", 54 "BayesianRidge", 55 "ElasticNet", 56 "ElasticNetCV", 57 "Hinge", 58 "Huber", 59 "HuberRegressor", 60 "Lars", 61 "LarsCV", 62 "Lasso", 63 "LassoCV", 64 "LassoLars", 65 "LassoLarsCV", 66 "LassoLarsIC", 67 "LinearRegression", 68 "Log", 69 "LogisticRegression", 70 "LogisticRegressionCV", 71 "ModifiedHuber", 72 "MultiTaskElasticNet", 73 "MultiTaskElasticNetCV", 74 "MultiTaskLasso", 75 "MultiTaskLassoCV", 76 "OrthogonalMatchingPursuit", 77 "OrthogonalMatchingPursuitCV", 78 "PassiveAggressiveClassifier", 79 "PassiveAggressiveRegressor", 80 "Perceptron", 81 "QuantileRegressor", 82 "Ridge", 83 "RidgeCV", 84 "RidgeClassifier", 85 "RidgeClassifierCV", 86 "SGDClassifier", 87 "SGDRegressor", 88 "SGDOneClassSVM", 89 "SquaredLoss", 90 "TheilSenRegressor", 91 "enet_path", 92 "lars_path", 93 "lars_path_gram", 94 "lasso_path", 95 "orthogonal_mp", 96 "orthogonal_mp_gram", 97 "ridge_regression", 98 "RANSACRegressor", 99 "PoissonRegressor", 100 "GammaRegressor", 101 "TweedieRegressor", 102] 103