Created
March 2, 2022 17:50
-
-
Save AI-MOO/f8737074bf13e48f3856920713dee55d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# تدريب نموذج الانحدار اللوجستي للتنبؤ بأمراض القلب | |
from sklearn.linear_model import LogisticRegression | |
lr_clf = LogisticRegression(solver='liblinear') | |
lr_clf.fit(X_train, y_train) | |
# طباعة تقرير أداء النموذج | |
print_score(lr_clf, X_test, y_test) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment