pred = new(predictor, loglik)
This is a base class design to allow for coherent building of
predictions across multiple models. Unlike many base classes in this
package, it is meant to be directly used.
Arguments
- loglik
An lpdf
instance, specifically that starts with
loglik
, to build the predictor
Value
no returns, this is a class which contains methods
Fields
predictor$update(x)
update the current input to x
for prediction
predictor$mean()
return the vector of means for the prediction
predictor$var()
return the vector of variances for the prediction
predictor$setnthreads(k)
specifics k
as the number of threads
to use