public static class EasyPredictModelWrapper.Config
extends java.lang.Object
| Constructor and Description |
|---|
EasyPredictModelWrapper.Config() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getConvertUnknownCategoricalLevelsToNa() |
GenModel |
getModel() |
EasyPredictModelWrapper.Config |
setConvertUnknownCategoricalLevelsToNa(boolean value)
Specify how to handle unknown categorical levels.
|
EasyPredictModelWrapper.Config |
setModel(GenModel value)
Specify model object to wrap.
|
public EasyPredictModelWrapper.Config setModel(GenModel value)
value - modelpublic GenModel getModel()
public EasyPredictModelWrapper.Config setConvertUnknownCategoricalLevelsToNa(boolean value)
value - false: throw exception; true: convert to N/Apublic boolean getConvertUnknownCategoricalLevelsToNa()