Spiega documentation

Machine learning models and practices

Overview on some of the commonly used machine learning models and their use cases.

un/supervised learning

gradient boosting

Gradient boosting prefers many shallow models than a single deep model where each model tries to predict the error of the previous chained model.

xgboost

The extreme gradient boosting

hyperparameter tuning

Hyperparameters depend on the specific model although different models share similar components (gradient, loss function, regularization...).

The tuning happens deciding which hyperparameters in which range and steps are going to be otpimized. For each set of hyperparameters the score is calculated using cross validation. The most time consuming way is to calculate the score for each set on a grid. Finer techniques can extrapolate scores without computing every single grid point.

transformer attention projection

random forest depth

L1/l2 regularization

boosting