SG++-Doxygen-Documentation
|
This example demonstrates sparse grid regression learning.
getLearner
dimension | is the number of dimensions |
regularizationConfig |
showRegularizationConfiguration
regularizationConfig |
gridSearch performs a hyper-parameter grid search over configs using a holdout validation set.
configs | are the regularization configs that will be tried |
dimension | is the number of dimensions |
xTrain | are the training predictors |
yTrain | is the training target |
xValidation | are the validation predictors |
yValidation | is the validation target |
getConfigs
main is an example for the RegressionLearner. It performs a grid search for the best hyper-parameter for the Friedman3 dataset using the diagonal Tikhonov regularization method.