text_plain_output_1.png
from sklearn.ensemble import GradientBoostingClassifier, RandomForestClassifier

from sklearn.neighbors import KNeighborsClassifier

rfc = RandomForestClassifier(n_jobs=-1, n_estimators=500, max_depth=70, max_features=2, random_state=0)
knn = KNeighborsClassifier(n_neighbors=5, algorithm='kd_tree', weights='uniform', n_jobs=-1)
gbc = GradientBoostingClassifier(learning_rate=0.01, loss='exponential', max_depth=70, max_features=2, n_estimators=500, random_state=0)

gbc.fit(X_treino, y_treino)