Hyperparameter Tuning Flashcards
Grid and Random Search Cross Validation (CV) (5 cards)
Permutation set
A set of elements arranged in a specific order. In machine learning, permutation is important in evaluating the effect of each feature on model performance by shuffling its values.
Polynomial Features
Used to convert features to a higher degree.
If there are 2 features [a, b], then degree-2 polynomial features are [1, a, b, a^2, ab, b^2].
When should polynomial features be used?
Use when the relationship between the target variable and independent variables is nonlinear. This can be determined with a negative R2score
T/F: Hypberperameters are learned from the data?
False: Hyperperameters are used explicitly to tune the model.
Data leakage can be caused by
Treating the training and test data together before splitting.