Machine Learning, Artificial Intelligence, Dimensionality Reduction, Data Science, Heartbeat.
model cv = RepeatedStratifiedKFold(n_splits=10, n_repeats=3, random_state=1) n_scores = cross_val_score(model, X, y, scoring='accuracy', cv=cv, n_jobs=-1) # report performance print('Accuracy: %.3f (%.3f)' % (mean(n_scores), std(n_scores))) Output The output shows the accuracy our logistic