
A machine learning model that mimics the way the human brain processes information
A method of dividing the entire dataset into several small groups to solve memory and computation speed issues during dataset training

A Loss Function used to measure the difference between the predicted probability distribution and the actual target distribution, evaluating how close the predicted values are to the actual values.
Definition: A function that measures the difference between two probability distributions
Formula
: True probability distribution of the data
: Predicted probability distribution of the model
: The set of all possible outcomes
Binary Cross Entropy: Assigns large penalties for incorrect predictions, guiding the model towards correct predictions.
Categorical Cross Entropy: Imposes a large penalty when the model fails to predict the correct class with high probability.
The Softmax function converts the logits predicted by the model into probabilities, allowing Cross Entropy to evaluate the probabilities for each class.
The Softmax function calculates the probabilities for each class and normalizes them so that the sum of all class probabilities equals 1.
Cross Entropy then calculates the difference between these probabilities and the actual labels.
Problem Setup
Softmax Function Calculation
Calculate the probability for each class:
Predicted probabilities:
Cross Entropy Loss Calculation
Given the actual label and the predicted probabilities :
Thus,
Therefore, the Cross Entropy Loss is 0.417.