ML/AI Flashcards

1
Q

Supervised vs Unsupervised vs Reinforcement Learning?

A

In SL, the model learns form the labeled data and makes a prediction as the output.
In USL, the model uses unlabeled input data and allows the algorithm to act on that information without guidance
In RL, the model learns based on the rewards it received for its previous actions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is overfitting?
Ways to avoid?

A

Overfitting is a situation, where a model learns the training set too well which causes random fluctuations to be considered as concepts in training data.
1. Regularization
2. Simpler model, less variables/parameters
3. Cross-validation(k-folds)
4. LASSO

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Bias and Variance in ML model?

A

Bias is a machine learning model and occurs when the predicted values are further from the actual values. Low bias means good(closer to value).
High bias can cause underfitting, miss relevant relations.

Variance is the amount of target model will change when trained with different training data.
Variance should be minimalized.
High variance can cause algo to model the random noise in the training data instead of expected output.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you handle missing or corrupted data?

A

IsNull() , dropna(), fillna()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How Can You Choose a Classifier Based on a Training Set Data Size?

A

When training data is small, a model that has right bias and low variance seems to work better.
e.g., Naive Bayes works best with large data set

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What Are the Three Stages of Building a Model in Machine Learning?

A

Model Building
Model Testing
Applying the Model

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Deep Learning?

A

The Deep learning is a subset of machine learning that involves systems that think and learn like humans using artificial neural networks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Difference b/w ML and DL?

A

Feature engineering is done manually in ML whereas in DL, it consists of neural network which automatically determine which features to use.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly