Skip to content

Commit

Permalink
Merge pull request #18 from snega16/snega16
Browse files Browse the repository at this point in the history
[Issue {#7}] Add new models for classification training . Thanks @snega16 , happy contributing.🎉
  • Loading branch information
sagnik1511 authored Feb 1, 2022
2 parents d98cbf0 + 99bf159 commit 36b208c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
lightgbm~=3.3.2
xgboost~=1.5.2
scikit-learn~=1.0.2
pandas~=1.3.5
numpy~=1.22.0
numpy~=1.22.0
4 changes: 3 additions & 1 deletion tab_automl/automl/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This files holds all codes for defined and used models through the life cycle of the package.
"""
from lightgbm import LGBMClassifier
from xgboost import XGBClassifier
from sklearn.ensemble import RandomForestClassifier, RandomForestRegressor
from sklearn.linear_model import Lasso, LinearRegression, Ridge
from sklearn.tree import DecisionTreeClassifier
Expand All @@ -17,6 +18,7 @@
"classification": {
"Decision Tree Classifier": DecisionTreeClassifier,
"Light Gradient Boosting Classifier": LGBMClassifier,
"Random Forest Classifier": RandomForestClassifier
"Random Forest Classifier": RandomForestClassifier,
"XGBoost Classifier": XGBClassifier
}
}

0 comments on commit 36b208c

Please sign in to comment.