0
0
AI for Everyoneknowledge~20 mins

What is a neural network (simplified) in AI for Everyone - Practice Questions & Exercises

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Neural Network Mastery
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
Understanding the basic structure of a neural network

Imagine a neural network as a group of friends passing notes to solve a problem together. Which part of the neural network acts like the friends passing notes?

AThe data input only
BThe computer hardware
CThe final output only
DThe layers of neurons
Attempts:
2 left
💡 Hint

Think about who is actively working together inside the network.

🔍 Analysis
intermediate
2:00remaining
Output of a simple neural network forward pass

What is the output of this simple neural network forward pass code?

AI for Everyone
import numpy as np

def simple_forward(x, w, b):
    return np.dot(x, w) + b

x = np.array([1, 2])
w = np.array([0.5, -1])
b = 0.1
output = simple_forward(x, w, b)
print(output)
A1.1
B0.1
C-1.4
D-0.9
Attempts:
2 left
💡 Hint

Calculate dot product: (1*0.5) + (2*-1) + 0.1

Model Choice
advanced
2:00remaining
Choosing the right neural network type for image recognition

You want to build a model to recognize objects in photos. Which neural network type is best suited for this task?

AConvolutional Neural Network (CNN)
BRecurrent Neural Network (RNN)
CFeedforward Neural Network without convolution
DAutoencoder
Attempts:
2 left
💡 Hint

Think about which network type is designed to handle images and spatial data.

Hyperparameter
advanced
2:00remaining
Effect of learning rate on training a neural network

What happens if the learning rate is set too high when training a neural network?

AThe model may fail to learn and the loss might bounce around or increase
BThe model will learn faster and reach perfect accuracy immediately
CThe model will ignore the training data
DThe model will always underfit the data
Attempts:
2 left
💡 Hint

Think about how big steps in learning affect stability.

Metrics
expert
2:00remaining
Interpreting confusion matrix metrics for a neural network classifier

A neural network classifier outputs the following confusion matrix:

True Positive (TP): 40
False Positive (FP): 10
True Negative (TN): 30
False Negative (FN): 20

What is the precision of this model?

A0.66
B0.80
C0.67
D0.75
Attempts:
2 left
💡 Hint

Precision = TP / (TP + FP)