public abstract class GamMojoModelBase extends MojoModel implements ConverterFactoryProvidingModel, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
LinkFunctionType |
_link_function |
_algoName, _balanceClasses, _category, _defaultThreshold, _h2oVersion, _modelAttributes, _modelClassDistrib, _modelDescriptor, _mojo_version, _nclasses, _nfeatures, _priorClassDistrib, _reproducibilityInformation, _supervised, _uuid
_domains, _foldColumn, _names, _offsetColumn, _responseColumn, _treatmentColumn
Modifier and Type | Method and Description |
---|---|
GenModel |
internal_threadSafeInstance()
For internal use only - can be removed at any time!
Creates a version of the MOJO that can be used by a thread in a multi-threaded environment.
|
RowToRawDataConverter |
makeConverterFactory(java.util.Map<java.lang.String,java.lang.Integer> modelColumnNameToIndexMap,
java.util.Map<java.lang.Integer,CategoricalEncoder> domainMap,
EasyPredictModelWrapper.ErrorConsumer errorConsumer,
EasyPredictModelWrapper.Config config) |
double[] |
score0(double[] row,
double[] preds)
Subclasses implement the scoring logic.
|
getModelCategory, getUUID, isSupervised, load, load, load, nclasses, nfeatures
bitSetContains, bitSetIsInRange, calibrateClassProbabilities, convertDouble2Float, correctProbabilities, createAuxKey, features, GBM_rescale, getCategoricalEncoding, getColIdx, getDomainValues, getDomainValues, getDomainValues, getHeader, getModelCategories, getNames, getNumClasses, getNumCols, getNumResponseClasses, getOffsetName, getOrigDomainValues, getOrigNames, getOrigNumCols, getOrigProjectionArray, getOutputDomains, getOutputNames, getPrediction, getPredictionBinomial, getPredictionMultinomial, getPredsSize, getPredsSize, getResponseIdx, getResponseName, GLM_identityInv, GLM_inverseInv, GLM_logInv, GLM_logitInv, GLM_ologitInv, GLM_tweedieInv, img2pixels, isAutoEncoder, isClassifier, KMeans_closest, KMeans_distance, KMeans_distance, KMeans_distances, Kmeans_preprocessData, Kmeans_preprocessData, KMeans_simplex, log_rescale, mapEnum, nCatFeatures, requiresOffset, score0, setCats, setCats, setInput, setInput
public LinkFunctionType _link_function
public double[] score0(double[] row, double[] preds)
GenModel
public GenModel internal_threadSafeInstance()
GenModel
internal_threadSafeInstance
in class GenModel
public RowToRawDataConverter makeConverterFactory(java.util.Map<java.lang.String,java.lang.Integer> modelColumnNameToIndexMap, java.util.Map<java.lang.Integer,CategoricalEncoder> domainMap, EasyPredictModelWrapper.ErrorConsumer errorConsumer, EasyPredictModelWrapper.Config config)
makeConverterFactory
in interface ConverterFactoryProvidingModel
RowToRawDataConverter
related to the underlying GenModel