public class KLimeMojoModel extends MojoModel
_algoName, _balanceClasses, _category, _defaultThreshold, _h2oVersion, _modelAttributes, _modelClassDistrib, _modelDescriptor, _mojo_version, _nclasses, _nfeatures, _priorClassDistrib, _reproducibilityInformation, _supervised, _uuid_domains, _names, _offsetColumn, _responseColumn, _treatmentColumn| Modifier and Type | Method and Description |
|---|---|
java.util.EnumSet<ModelCategory> |
getModelCategories()
Override this for models that may produce results in different categories.
|
int |
getPredsSize()
Returns the expected size of preds array which is passed to `predict(double[], double[])` function.
|
GlmMojoModel |
getRegressionModel(int cluster) |
double[] |
score0(double[] row,
double[] preds)
Subclasses implement the scoring logic.
|
getModelCategory, getUUID, isSupervised, load, load, load, nclasses, nfeaturesbitSetContains, bitSetIsInRange, calibrateClassProbabilities, convertDouble2Float, correctProbabilities, createAuxKey, features, GBM_rescale, getCategoricalEncoding, getColIdx, getDomainValues, getDomainValues, getDomainValues, getHeader, getNames, getNumClasses, getNumCols, getNumResponseClasses, getOffsetName, getOrigDomainValues, getOrigNames, getOrigNumCols, getOrigProjectionArray, getOutputDomains, getOutputNames, getPrediction, getPredictionBinomial, getPredictionMultinomial, getPredsSize, getResponseIdx, getResponseName, GLM_identityInv, GLM_inverseInv, GLM_logInv, GLM_logitInv, GLM_ologitInv, GLM_tweedieInv, img2pixels, internal_threadSafeInstance, 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, setInputpublic java.util.EnumSet<ModelCategory> getModelCategories()
GenModelgetModelCategories in interface IGenModelgetModelCategories in class GenModelpublic double[] score0(double[] row,
double[] preds)
GenModelpublic GlmMojoModel getRegressionModel(int cluster)
public int getPredsSize()
GenModelgetPredsSize in interface IGeneratedModelgetPredsSize in class GenModel