Regression and Text Classification tasks with FCNs Flashcards

1
Q

What is the key difference between classification and regression?

A

Classification predicts categorical labels, while regression predicts continuous numerical values.

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

What does MSE measure in regression tasks?

A

MSE measures how badly the AI system’s predicted values deviate from the actual values.

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

What is the function of an output layer in a neural network?

A

It transforms hidden layer outputs into final predictions using activation functions.

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

What is the purpose of the Boston Housing Price dataset?

A

It is used to predict house prices based on various features using regression models.

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

What are two common data normalization techniques?

A

Min-Max Scaling and Z-Score normalization.

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

How many hidden layers and units are used in the Boston Housing model?

A

Two hidden layers, each with 64 units.

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

What is the IMDB dataset used for?

A

It is used for binary classification of movie reviews into positive and negative sentiments.

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

Why is one-hot encoding necessary for text classification?

A

Neural networks cannot process varying-length text, so one-hot encoding converts text into fixed-length binary vectors.

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

What activation function is used in the last layer of the IMDB classification model?

A

Sigmoid activation function.

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

What loss function is used for binary classification tasks?

A

Binary cross-entropy.

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

How many categories does the Reuters dataset have?

A

46 different topics.

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

What loss function is used for multiclass classification in the Reuters dataset?

A

Categorical cross-entropy.

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

Which optimizer is commonly used in both regression and classification models in the slides?

A

Adam optimizer.

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

How is Min-Max Scaling applied to data?

A

X(scaled) = (X - X(min))/(X(max) - X(min))

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

What is the formula for Z-Score normalization?

A

X(standard) = (X - mean)/variance

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