#Research # DataAnalysis # Python #managementresearch #anova #HigherEducation # LinePlots #zupyter #regression #logisticregression
Subscribe
https://www.youtube.com/c/DrJKSachdev...
This is the 30th video of a series on learning data analysis with python. You should watch the following video before this video.
• Logistic Regression with SPSS
New Commands for Logistic regression, confusion matrix and accuracy score
cm = metrics.confusion_matrix(Y, df3['pred_label'])
c_dis = metrics.ConfusionMatrixDisplay(confusion_matrix = cm, display_labels = ['Yes', 'No'])
c_dis.plot()
plt.show()
print(" Accuracy of test is" ,metrics.accuracy_score(Y,df3['pred_label']).round(2))