1/3
What is the difference between model parameters and hyperparameters?
Parameters are learned from data during training (e.g., regression coefficients). Hyperparameters are configured before training and control the learning process (e.g., learning rate, max_depth, and regularization strength).
What is the purpose of hyperparameter tuning?
To find the hyperparameter combination that maximizes model performance on unseen data, using validation data to evaluate candidates.
What is the difference between Grid Search and Random Search?
Grid Search evaluates every predefined combination. Random Search samples combinations, often reducing computational cost.
How does Optuna optimize hyperparameters?
Optuna uses previous trial results to guide new hyperparameter choices and can prune unpromising trials early.