ML Lab _ Practice _ Ellen

ML Lab _ Practice _ Ellen

Assessment

Flashcard

Computers

12th Grade

Hard

Created by

Livia Ellen

Used 10+ times

FREE Resource

Student preview

quiz-placeholder

38 questions

Show all answers

1.

FLASHCARD QUESTION

Front

List scenarios for scaling features.

Back

1. Regularized regression: Ensures coefficients are on the same scale for penalty term application.
2. Linear models: Helps with numerical stability in estimation.
3. Nearest neighbor methods: Prevents large magnitude features from dominating.

2.

FLASHCARD QUESTION

Front

Conditions to avoid scaling data.

Back

1. Features are in the same units or normalized.
2. Model is scale-invariant (e.g., logistic regression).

3.

FLASHCARD QUESTION

Front

Steps for standard scaling in train/val/test split.

Back

1. Split data into three groups.
2. Calculate mean and standard deviation using training data.
3. Scale training features with calculated mean and standard deviation.
4. Scale validation features with training mean and standard deviation.
5. Scale test features with training mean and standard deviation.

4.

FLASHCARD QUESTION

Front

First action in cross-validation for multi-class classification.

Back

Randomize data order.

5.

FLASHCARD QUESTION

Front

Explain the concept of cross-validated R^2.

Back

Cross-validated R^2 is the average of R^2 values obtained from K-fold cross-validation

6.

FLASHCARD QUESTION

Front

Pros of 5-fold cross-validation.

Back

Less computationally expensive, more stable estimate.

7.

FLASHCARD QUESTION

Front

Label encoding

Back

Converts categorical data into numerical format by assigning each category a distinct number

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?