Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

logistic regression algorithm in python

print("Accuracy:",metrics.accuracy_score(y_test, y_pred))
print("Precision:",metrics.precision_score(y_test, y_pred))
print("Recall:",metrics.recall_score(y_test, y_pred))
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #logistic #regression #algorithm #python
ADD COMMENT
Topic
Name
1+1 =