Module linfa::param_guard
source · Traits
- A set of hyperparameters whose values have not been checked for validity. A reference to the checked hyperparameters can only be obtained after checking has completed. If the
Transformer
,Fit
, orFitWith
traits have been implemented on the checked hyperparameters, they will also be implemented on the unchecked hyperparameters with the checking step done automatically. - Implement this trait to opt into a blanket
Transformer
impl that wraps the output of the uncheckedtransform
call in aResult
. If the uncheckedtransform
call returns aResult
, the blanket impl will return doubleResult
s, so this trait should be avoided in that case.