Multi-Class Logistic Regression 11/07/2018
Liyuan Liu Ph.D. Students in Analytics and Data Science Kennesaw State University
Multi-Class Logistic Regression 11/07/2018 Liyuan Liu Ph.D. - - PowerPoint PPT Presentation
Multi-Class Logistic Regression 11/07/2018 Liyuan Liu Ph.D. Students in Analytics and Data Science Kennesaw State University Multi-class logistic regression 5-cross validation ROC plot Process Data Preparation Softmax Function Gradient
Liyuan Liu Ph.D. Students in Analytics and Data Science Kennesaw State University
5-cross validation ROC plot Multi-class logistic regression
3
Data Preparation Softmax Function Gradient Descent Model Training and testing Add L1 Regularization
4
5
1/(1+np.exp(-score)) (np.exp(score) / np.sum(np.exp(score))
6
Learning Rate: 0.01 Epoch: 3000
7
Rule: Extract the indexhas the highest probability.
The argmax() only for compute accuracy
8
Use numpy.ravel to flatten the array.¶
9
10
Why Regularization? Reduce Over-fitting Problem.
11
Liyuan Liu: lliyuan@students.kennesaw.edu