Artificial Intelligence, Machine Learning, Data Science, Bioinformatics, Genomics.
model.predict_proba(X_test)[0:10] And if the probability is over the threshold the observation is assigned to class 1 otherwise is assigned to class 0 model.predict(X_test)[0:10] Model evaluation We can evaluate the score: model.score(X_train, y_train) model.score(X_test, y_test) we are using both