text_plain_output_1.png
from sklearn.ensemble import RandomForestClassifier,AdaBoostClassifier

from sklearn.metrics import accuracy_score

from sklearn.ensemble import RandomForestClassifier, AdaBoostClassifier
from sklearn.metrics import accuracy_score
model = RandomForestClassifier(n_estimators=800)
model.fit(xtrain, ytrain)
test_pred = model.predict(xtest)
accuracy_score(ytest, test_pred)

model = AdaBoostClassifier(n_estimators=800)
model.fit(xtrain, ytrain)
test_pred = model.predict(xtest)
accuracy_score(ytest, test_pred)