0
0
TensorFlowml~5 mins

Binary classification model in TensorFlow - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a binary classification model?
A binary classification model is a type of machine learning model that sorts data into two groups or classes, like deciding if an email is spam or not spam.
Click to reveal answer
beginner
Which activation function is commonly used in the output layer of a binary classification model?
The sigmoid activation function is commonly used because it outputs values between 0 and 1, which can be interpreted as probabilities for the two classes.
Click to reveal answer
beginner
What loss function is typically used to train a binary classification model?
Binary cross-entropy loss is typically used because it measures how well the predicted probabilities match the actual class labels (0 or 1).
Click to reveal answer
beginner
Why do we use accuracy as a metric in binary classification?
Accuracy tells us the percentage of correct predictions out of all predictions, helping us understand how well the model is performing overall.
Click to reveal answer
beginner
What does the output of a binary classification model represent?
The output is a probability score between 0 and 1 that shows how likely the input belongs to the positive class. We usually pick class 1 if the score is above 0.5.
Click to reveal answer
Which activation function is best for the output layer in a binary classification model?
AReLU
BSigmoid
CSoftmax
DTanh
What does binary cross-entropy loss measure?
ADifference between predicted probabilities and actual labels
BDistance between data points
CSum of squared errors
DNumber of correct predictions
If a model outputs 0.8 for a sample, what class is predicted assuming a 0.5 threshold?
ACannot decide
BClass 0
CClass 1
DClass 2
Which metric shows the percentage of correct predictions?
ALoss
BRecall
CPrecision
DAccuracy
What is the typical shape of the output layer in a binary classification model?
AOne neuron with sigmoid activation
BTwo neurons with softmax activation
CMultiple neurons with ReLU activation
DOne neuron with linear activation
Explain how a binary classification model works from input to output.
Think about how data flows and how the model decides between two classes.
You got /5 concepts.
    Describe the role of the loss function and metric in training a binary classification model.
    Consider what guides learning and what tells us how well the model is doing.
    You got /4 concepts.