Traditional ML
ML Models
Coding Tools
Improving ML Models
Deep Learning
200

This type of traditional machine learning is used for regression tasks, and uses linear functions to predict the output.

Linear regression


200

What ML model uses convolutional layers to detect features?

CNNs

200

How do you initialize a Sequential model in Keras?

Model = Sequential()

200

True or False: Underfitting and Overfitting are the only types of issues that need to be addressed to improve ML models.

False

200

Deep Learning is a subfield of what field?

Machine learning


400

Used for classification tasks and involves the use of a decision boundary to separate different classes.

Decision trees

400

True or False: KNNs and Decision Trees are used for classification tasks.

True

400

How do you add a fully connected layer to a Keras neural network?

Model.add(Dense(number_of_neurons))

400

What are the ML settings decided by the programmer called?

Hyperparameters

400

When is Deep Learning preferred to traditional Machine Learning?

Large amount of data, complex relationships, datatypes not able to be used by traditional ML, when high accuracy is required


(students only need to say one of the above)

600

What are the types of ML algorithms?

Supervised, unsupervised, RL

600

What is a model that assigns data points to the nearest cluster based on a distance metric?

Kmeans


600

Which keras layer is used for tokenization and vectorization?

TextVectorization

600

What is the difference between a validation dataset and a test dataset in machine learning?

Validation dataset is used while improving the model to make sure model is unbiased by test set

600

What is the name for a network where every neuron in a layer is connected to every neuron in the next layer?

Fully connected

800

Type of ML Algorithm that does  training by rewarding desired behaviors and punishing undesirable ones.

Reinforcement learning

800

What is the difference between supervised and unsupervised learning?

Supervised learning uses labeled data

800

Which optimizer uses an adaptive learning rate?

Adam

800

True or false: Weights and biases are two hyperparameters we can adjust during the training phase.

False. Weights and biases are not hyperparameters.

800

What is the difference between predicted output from model and the actual output called?

Loss or cost or error

1000

Give an example of when Traditional ML is preferred over Deep Learning.

applications where traditional machine learning is preferred over deep learning:

  1. Small data sets

  2. Interpretable models

  3. Linearly separable data

  4. Extensive feature engineering required

  5. Resource constraints

Applications where traditional machine learning may be preferred:

  1. Credit scoring

  2. Fraud detection

  3. Simple image recognition

  4. Simple speech recognition

  5. Recommendation systems

1000

Name one reason feature selection is an important step in building ML models.

Reduces Overfitting (fewer features), Improving Model Performance (only uses most relevant features), Reducing Training Time (less features), Improving Model Interpretability (fewer features means more interpretable), Data Quality (removing noise or irrelevant features)


Any version of the above examples of reasons is acceptable

1000

Which loss function do we use for binary classification problems?

Binary crossentropy

1000

Name two hyperparameters used in deep learning.

Number of neurons, number of layers, etc

1000

Which activation function solves the vanishing gradient problem?

Adam