Skip to content

Commit

Permalink
[This PR adds 5 clustering models corrected {sagnik1511#32}]
Browse files Browse the repository at this point in the history
Affinity Propagation
Agglomerative Clustering
Birch
DBSCAN
KMeans

Push.
  • Loading branch information
Tihsrah committed Feb 11, 2022
1 parent 66e256b commit 584e9ae
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tab_automl/automl/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
from sklearn.linear_model import Lasso, LinearRegression, Ridge
from sklearn.tree import DecisionTreeClassifier

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 @@ -19,5 +24,12 @@
"Light Gradient Boosting Classifier": LGBMClassifier,
"Random Forest Classifier": RandomForestClassifier
},
"clustering":{
"Affinity Propagation":AffinityPropagation,
"Agglomerative Clustering":AgglomerativeClustering,
"Birch":Birch,
"DBSCAN":DBSCAN,
"KMeans":KMeans
}

}

0 comments on commit 584e9ae

Please sign in to comment.