Skip to content

Commit

Permalink
Merge pull request #36 from Tihsrah/Tihsrah
Browse files Browse the repository at this point in the history
Adding clustering 5 models inside single_model_dict #32
  • Loading branch information
sagnik1511 authored Feb 12, 2022
2 parents 6e77dc7 + fff70d2 commit 2d790e3
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tab_automl/automl/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
from sklearn.tree import DecisionTreeClassifier
from sklearn.neighbors import KNeighborsClassifier
from sklearn.neighbors import KNeighborsRegressor

from sklearn.cluster import AffinityPropagation
from sklearn.cluster import AgglomerativeClustering
from sklearn.cluster import Birch
from sklearn.cluster import DBSCAN
from sklearn.cluster import KMeans

single_model_dict = {
"regression": {
Expand All @@ -26,5 +30,12 @@
"Random Forest Classifier": RandomForestClassifier,
"XGBoost Classifier": XGBClassifier,
"KNN Classifier": KNeighborsClassifier
},
"clustering": {
"Affinity Propagation": AffinityPropagation,
"Agglomerative Clustering": AgglomerativeClustering,
"Birch": Birch,
"DBSCAN": DBSCAN,
"KMeans": KMeans
}
}

0 comments on commit 2d790e3

Please sign in to comment.