Exponential grid search over noise hyperparameter. More...
#include <gpr/ml/NoiseGridSearch.h>
Public Member Functions | |
| NoiseGridSearch (int n_grid=80, int n_refine=2, double log_noise_min=-10.0, double log_noise_max=2.0) | |
| Configure the grid search. | |
| NoiseSearchResult | searchGP (const FactorizedLikelihood &likelihood) const |
| Search for optimal noise using GP factorized likelihood. | |
| NoiseSearchResult | searchTP (const FactorizedLikelihood &likelihood, double a, double b) const |
| Search for optimal noise using TP factorized likelihood. | |
Exponential grid search over noise hyperparameter.
Definition at line 36 of file NoiseGridSearch.h.
| gpr::NoiseGridSearch::NoiseGridSearch | ( | int | n_grid = 80, |
| int | n_refine = 2, | ||
| double | log_noise_min = -10.0, | ||
| double | log_noise_max = 2.0 ) |
Configure the grid search.
| n_grid | Number of grid points per refinement level |
| n_refine | Number of refinement iterations |
| log_noise_min | Minimum log10(noise) to search |
| log_noise_max | Maximum log10(noise) to search |
Definition at line 13 of file NoiseGridSearch.cpp.
| NoiseSearchResult gpr::NoiseGridSearch::searchGP | ( | const FactorizedLikelihood & | likelihood | ) | const |
Search for optimal noise using GP factorized likelihood.
Definition at line 52 of file NoiseGridSearch.cpp.
| NoiseSearchResult gpr::NoiseGridSearch::searchTP | ( | const FactorizedLikelihood & | likelihood, |
| double | a, | ||
| double | b ) const |
Search for optimal noise using TP factorized likelihood.
| likelihood | Factorized Student-t likelihood to evaluate |
| a | inverse-gamma shape parameter |
| b | inverse-gamma scale parameter |
Definition at line 87 of file NoiseGridSearch.cpp.