@ Parameter . WarmParameter ( prefLowToHigh = false ) public void setLambda ( double lambda ) { if ( lambda <= 0 || Double . isInfinite ( lambda ) || Double . isNaN ( lambda ) ) throw new IllegalArgumentException ( "Regularization term lambda must be a positive value, not " + lambda ) ; this . lambda = lambda ; }
Sets the regularization term where larger values indicate a larger regularization penalty .