public final class IsolationForestMojoModel extends SharedTreeMojoModel
SharedTreeMojoModel.AuxInfo, SharedTreeMojoModel.DecisionPathTracker<T>, SharedTreeMojoModel.LeafDecisionPathTracker, SharedTreeMojoModel.LeafNodeAssignments, SharedTreeMojoModel.StringDecisionPathTracker
__INTERNAL_MAX_TREE_DEPTH, _calib_glm_beta, _compressed_trees, _compressed_trees_aux, _genmodel_encoding, _isotonic_calibrator, _ntree_groups, _ntrees_per_group, _orig_domain_values, _orig_names, _orig_projection_array
_algoName, _balanceClasses, _category, _defaultThreshold, _h2oVersion, _modelAttributes, _modelClassDistrib, _modelDescriptor, _mojo_version, _nclasses, _nfeatures, _priorClassDistrib, _reproducibilityInformation, _supervised, _uuid
_domains, _foldColumn, _names, _offsetColumn, _responseColumn, _treatmentColumn
Constructor and Description |
---|
IsolationForestMojoModel(java.lang.String[] columns,
java.lang.String[][] domains,
java.lang.String responseColumn) |
Modifier and Type | Method and Description |
---|---|
double |
getInitF() |
java.lang.String[] |
getOutputNames() |
int |
getPredsSize()
Returns the expected size of preds array which is passed to `predict(double[], double[])` function.
|
double[] |
score0(double[] row,
double[] preds)
Subclasses implement the scoring logic.
|
double[] |
score0(double[] row,
double offset,
double[] preds) |
double[] |
unifyPreds(double[] row,
double offset,
double[] preds)
Transforms tree predictions into the final model predictions.
|
_computeGraph, calibrateClassProbabilities, computeGraph, computeGraph, computeTreeGraph, computeTreeGraph, convert, convert, findMaxNodeId, getCalibGlmBeta, getCategoricalEncoding, getDecisionPath, getDecisionPath, getDecisionPath, getDecisionPathNames, getIsotonicCalibrator, getLeafNodeAssignments, getLeafNodeId, getNTreeGroups, getNTreesPerGroup, getOrigDomainValues, getOrigNames, getOrigProjectionArray, postInit, readAuxInfos, scoreAllTrees, scoreSingleTree, scoreStagedPredictions, scoreTree, scoreTree, scoreTree0, scoreTree0, scoreTree1, scoreTree1, scoreTreeRange, treeBytes, treeName, writeUpdatedAuxInfos
getModelCategory, getUUID, isSupervised, load, load, load, nclasses, nfeatures
bitSetContains, bitSetIsInRange, convertDouble2Float, correctProbabilities, createAuxKey, features, GBM_rescale, getColIdx, getDomainValues, getDomainValues, getDomainValues, getHeader, getModelCategories, getNames, getNumClasses, getNumCols, getNumResponseClasses, getOffsetName, getOrigNumCols, getOutputDomains, 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, setCats, setCats, setInput, setInput
public IsolationForestMojoModel(java.lang.String[] columns, java.lang.String[][] domains, java.lang.String responseColumn)
public double[] score0(double[] row, double[] preds)
GenModel
public double[] score0(double[] row, double offset, double[] preds)
public double[] unifyPreds(double[] row, double offset, double[] preds)
SharedTreeMojoModel
unifyPreds
in class SharedTreeMojoModel
row
- input row.offset
- offset.preds
- final output, same structure as of GenModel.score0(double[], double[])
.public double getInitF()
public int getPredsSize()
GenModel
getPredsSize
in interface IGeneratedModel
getPredsSize
in class GenModel
public java.lang.String[] getOutputNames()
getOutputNames
in class GenModel