multivariate classification python

Solutions on MaxInterview for multivariate classification python by the best coders in the world

showing results for - "multivariate classification python"
Antonio
16 Jan 2019
1import sklearn as sk
2from sklearn.ensemble import RandomForestClassifier
3
4RF = RandomForestClassifier(n_estimators=100, max_depth=2, random_state=0)
5RF.fit(X, y)
6RF.predict(X.iloc[460:,:])
7round(RF.score(X,y), 4)
8