Skip to content

02 Classes for the Blob Model #1049

Answered by LuluW8071
dehlong asked this question in Q&A
Aug 20, 2024 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

@dehlong
In binary classification, there r only two values to predict: either 1 or 0 (positive or negative). The raw logits r passed through a sigmoid function for binary classification, which produces a single output representing the probability of the positive class.

In multiclass classification, there r more than two classes to predict. We set n outputs, where each element in that output representing the score or probability for each class when passed through the softmax function. The class with the highest probability is chosen as the prediction.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@mrdbourke
Comment options

@dehlong
Comment options

Answer selected by mrdbourke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants