Skip to content

Commit b668c0b

Browse files
committed
figure caption for the logistic-regression example figure in episode 4
1 parent 4bbf959 commit b668c0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/04-supervised-ML-classification.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,8 @@ For a multiclass classification, logistic regression can be extended using strat
327327
:align: center
328328
:width: 640px
329329

330-
1) The sigmoid function; 2) the softmax regression process: three input features to the softmax regression model resulting in three output vectors where each contains the predicted probabilities for three possible classes; 3) a bar chart of softmax outputs in which each group of bars represents the predicted probability distribution over three classes; 4-6) a binary classifier distinguishes one class from the other two classes using the one-vs-rest approach.
330+
(Upper left) the sigmoid function; (upper middle) the softmax regression process: three input features to the softmax regression model resulting in three output vectors where each contains the predicted probabilities for three possible classes; (upper right) a bar chart of softmax outputs in which each group of bars represents the predicted probability distribution over three classes; lower subplots) three binary classifiers distinguish one class from the other two classes using the one-vs-rest approach.
331+
331332

332333
The creation of a Logistic Regression model and the process of fitting it to the training data are nearly identical to those used for the KNN model described above, except that a different classifier is selected. The code example and the resulting confusion matrix plot are provided below:
333334

0 commit comments

Comments
 (0)