What do you want to save?
Add Code snippet
New code examples
-
Python 2022-02-18 07:30:05
multiclass classification model
knn=KNeighborsClassifier() svc=SVC() lr=LogisticRegression() dt=DecisionTreeClassifier() gnb=GaussianNB() rfc=RandomForestClassifier() xgb=XGBClassifier() gbc=GradientBoostingClassifier() ada=AdaBoostClassifier() ------------------------------------------... Add solution -
Other 2022-01-27 07:16:13
how to create your own machine learning model
from sklearn.model_selection import GridSearchCVn_estimators = [100, 300, 500, 800, 1200]max_depth = [5, 8, 15, 25, 30]min_samples_split = [2, 5, 10, 15, 100]min_samples_leaf = [1, 2, 5, 10]param_grid = dict(n_estimators = n_estimators, max_depth = max_de... Add solution
Best helpers
Ranking is empty