public class TargetEncoderMojoReader extends ModelMojoReader<TargetEncoderMojoModel>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ENCODING_MAP_PATH |
static java.lang.String |
INPUT_ENCODING_COLUMNS_MAPPING_PATH |
static java.lang.String |
INPUT_OUTPUT_COLUMNS_MAPPING_PATH |
static java.lang.String |
MISSING_VALUES_PRESENCE_MAP_PATH |
_model, _reader
Constructor and Description |
---|
TargetEncoderMojoReader() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getModelName() |
protected TargetEncoderMojoModel |
makeModel(java.lang.String[] columns,
java.lang.String[][] domains,
java.lang.String responseColumn) |
java.lang.String |
mojoVersion()
Maximal version of the mojo file current model reader supports.
|
protected EncodingMaps |
parseEncodingMap() |
protected void |
readModelData() |
defaultLinkFunction, exists, getMojoReaderBackend, makeModel, readblob, readFrom, readFrom, readIsotonicCalibrator, readkv, readkv, readLinkFunction, readModelSpecificAttributes, readRectangularDoubleArray, readRectangularDoubleArray, readReproducibilityInformation, readStringArray, readStringArrays, readtext, readtext
public static final java.lang.String ENCODING_MAP_PATH
public static final java.lang.String MISSING_VALUES_PRESENCE_MAP_PATH
public static final java.lang.String INPUT_ENCODING_COLUMNS_MAPPING_PATH
public static final java.lang.String INPUT_OUTPUT_COLUMNS_MAPPING_PATH
public java.lang.String getModelName()
getModelName
in class ModelMojoReader<TargetEncoderMojoModel>
protected void readModelData() throws java.io.IOException
readModelData
in class ModelMojoReader<TargetEncoderMojoModel>
java.io.IOException
protected TargetEncoderMojoModel makeModel(java.lang.String[] columns, java.lang.String[][] domains, java.lang.String responseColumn)
makeModel
in class ModelMojoReader<TargetEncoderMojoModel>
protected EncodingMaps parseEncodingMap() throws java.io.IOException
java.io.IOException
public java.lang.String mojoVersion()
ModelMojoReader
major.minor
format, where minor
is a 2-digit number. For example "1.00",
"2.05", "2.13". See README in mojoland repository for more details.mojoVersion
in class ModelMojoReader<TargetEncoderMojoModel>