Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

logistic regression algorithm in python

# import the metrics class
from sklearn import metrics
cnf_matrix = metrics.confusion_matrix(y_test, y_pred)
cnf_matrix
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #logistic #regression #algorithm #python
ADD COMMENT
Topic
Name
6+6 =