Neural Networks
Regression
Decision Trees and Ensemble
AI/ML basics
100

Name an application of a neural network

Many e.g. computer vision

100

Name a regression model.

Many possible answers e.g. linear regression

100

Define an ensemble model.

Model that combines predictions from other types of models

100

Name something that uses ML.

Many possible answers e.g. LLMs

200

What is the input of a neural network called?

Input layer

200

Logistic regression can be used to predict probabilities. True or false?

True

200

What do leaf nodes represent in a decision tree?

Class predictions

200

What is loss?

Value describing how wrong a model's prediction is

300

A deep neural network has a lot of this type of layer.

Hidden layer

300

What loss function is typically used in linear regression?

Mean squared error

300

Is random forest bagging, boosting, or stacking?

Bagging

300

Is image detection supervised or unsupervised learning?

Supervised

400

You have a neural network to recognize digits. What might hidden layers represent?

Specific features (eg loops, curls) of numbers

400

Does linear regression tend to overfit or underfit? Explain

Underfit; only works for very simple data due to its low complexity

400

In gradient boosting, each tree predicts ...

The loss of previous predictions

400

What is feature engineering?

Making new features (things the model uses) from data.

500

What would happen if a neural network didn't have a nonlinear activation function?

It would essentially reduce to a linear regression model.

500

Can logistic regression be used to predict stock prices? Explain.

No - predicts values between 0 and 1.

500

Which overfits more easily: random forest or a single decision tree? Explain why.

Single decision tree - random forest averages predictions

500

You are given a training dataset with 50,000 rows and 10 columns. Should you use all columns when training a model? Explain

No - some may contain things like ID, name, etc. that do not influence prediction, and cause overfitting

M
e
n
u