public abstract static class EasyPredictModelWrapper.ErrorConsumer
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ErrorConsumer() |
Modifier and Type | Method and Description |
---|---|
abstract void |
dataTransformError(java.lang.String columnName,
java.lang.Object value,
java.lang.String message)
Observe transformation error for data from the predicted dataset.
|
abstract void |
unseenCategorical(java.lang.String columnName,
java.lang.Object value,
java.lang.String message)
Previously unseen categorical level has been detected
|
public abstract void dataTransformError(java.lang.String columnName, java.lang.Object value, java.lang.String message)
columnName
- Name of the column for which the error is raisedvalue
- Original value that could not be transformed properlymessage
- Transformation error messagepublic abstract void unseenCategorical(java.lang.String columnName, java.lang.Object value, java.lang.String message)
columnName
- Name of the column to which the categorical value belongsvalue
- Original valuemessage
- Reason and/or actions taken