Recall & Review
beginner
What is a neural network in simple terms?
A neural network is a computer program that learns from examples, like how our brain learns from experience. It helps computers recognize patterns and make decisions.
Click to reveal answer
beginner
What is the role of layers in a neural network?
Layers are like steps in a recipe. Each layer processes information and passes it to the next, helping the network understand complex patterns step by step.
Click to reveal answer
beginner
What does 'training a neural network' mean?
Training means showing the network many examples so it can learn to make good guesses or predictions on new data.
Click to reveal answer
intermediate
What is the purpose of the activation function in a neural network?
An activation function helps the network decide if a neuron should be active or not, adding the ability to learn complex patterns beyond simple straight lines.
Click to reveal answer
intermediate
What does the loss function measure during training?
The loss function measures how far the network's predictions are from the correct answers. The goal is to make this number as small as possible.
Click to reveal answer
What is the first step when creating a neural network in TensorFlow?
✗ Incorrect
You first define the model architecture by specifying layers before training or using it.
Which layer is usually the last in a neural network for classification?
✗ Incorrect
The output layer gives the final prediction, such as class labels.
What does the activation function 'relu' do?
✗ Incorrect
ReLU (Rectified Linear Unit) outputs zero for negative inputs and the input itself if positive.
Why do we split data into training and testing sets?
✗ Incorrect
Training data teaches the model; testing data checks its performance on new examples.
What does a lower loss value indicate during training?
✗ Incorrect
Lower loss means the model's predictions are closer to the true answers.
Explain how a simple neural network learns to recognize patterns.
Think about how information flows and improves step by step.
You got /4 concepts.
Describe the steps to build and train your first neural network using TensorFlow.
Remember the order: build, compile, train, evaluate.
You got /4 concepts.