Skip to content

Commit

Permalink
Merge pull request sagnik1511#41 from PalaVenkiReddy/PalaVenkiReddy
Browse files Browse the repository at this point in the history
#Issue-6  Added new models for Regression Training
  • Loading branch information
Sherlock-221BBS authored Feb 16, 2023
2 parents 091e557 + ea32574 commit ac94419
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tab_automl/automl/models.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
This files holds all codes for defined and used models through the life cycle of the package.
"""
from lightgbm import LGBMClassifier
from lightgbm import LGBMClassifier, LGBMRegressor
from xgboost import XGBClassifier
from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor
from sklearn.linear_model import Lasso, LinearRegression, Ridge
Expand All @@ -19,6 +19,7 @@
from sklearn.cluster import OPTICS
from sklearn.cluster import SpectralClustering
from sklearn.mixture import GaussianMixture
from sklearn.tree import DecisionTreeRegressor

single_model_dict = {
"regression": {
Expand All @@ -27,7 +28,9 @@
"Ridge Regression": Ridge,
"Random Forest Regression": RandomForestRegressor,
"Support Vector Regression": SVR,
"KNN Regressor": KNeighborsRegressor
"KNN Regressor": KNeighborsRegressor,
"Decision Tree Regressor": DecisionTreeRegressor,
"Light Gradient Boosting Regressor": LGBMRegressor,
},
"classification": {
"Decision Tree Classifier": DecisionTreeClassifier,
Expand Down

0 comments on commit ac94419

Please sign in to comment.