Mle Hyperparameter Fitter
class MleHyperparameterFitter(numStarts: Int = defaultNumStarts, lengthScaleLowFactor: Double = 0.05, lengthScaleHighFactor: Double = 2.0) : HyperparameterFitterIfc(source)
A maximum-likelihood hyperparameter fitter: it performs a random multi-start search over the log of the length scales and signal variance, refitting the GP at each candidate and keeping the hyperparameters with the highest log marginal likelihood. Length-scale candidates are drawn log-uniformly between lengthScaleLowFactor and lengthScaleHighFactor times each input range; signal-variance candidates are drawn log-uniformly around the data variance.
Parameters
num Starts
the number of random restarts. Must be >= 1. Defaults to defaultNumStarts.
length Scale Low Factor
the lower bound factor on length scales. Must be > 0.
length Scale High Factor
the upper bound factor on length scales. Must be >lengthScaleLowFactor.
Functions
Link copied to clipboard
open override fun fit(model: GaussianProcessModel, points: List<DoubleArray>, means: DoubleArray, noiseVars: DoubleArray, rnStream: RNStreamIfc)