Loading...

Hyperparameter

A model setting chosen before training rather than learned from data.

When to use: Always; a great algorithm with bad hyperparameters often loses to a mediocre one with good ones.

Example: Random Forest hyperparameters: n_estimators=500, max_depth=12, min_samples_leaf=20, max_features=sqrt. Tree weights inside are learned during training.

More ML Algorithms Glossary terms