public abstract class SharedTreeMojoModelWithContributions extends SharedTreeMojoModel implements PredictContributionsFactory
| Modifier and Type | Class and Description |
|---|---|
class |
SharedTreeMojoModelWithContributions.ContributionsPredictor |
SharedTreeMojoModel.DecisionPathTracker<T>, SharedTreeMojoModel.LeafDecisionPathTracker, SharedTreeMojoModel.LeafNodeAssignments, SharedTreeMojoModel.StringDecisionPathTracker_calib_glm_beta, _compressed_trees, _compressed_trees_aux, _ntree_groups, _ntrees_per_group, _variable_importances_balanceClasses, _category, _defaultThreshold, _h2oVersion, _modelAttributes, _modelClassDistrib, _modelDescriptor, _mojo_version, _nclasses, _nfeatures, _priorClassDistrib, _supervised, _uuid_domains, _names, _offsetColumn, _responseColumn| Modifier | Constructor and Description |
|---|---|
protected |
SharedTreeMojoModelWithContributions(java.lang.String[] columns,
java.lang.String[][] domains,
java.lang.String responseColumn) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract SharedTreeMojoModelWithContributions.ContributionsPredictor |
getContributionsPredictor(TreeSHAPPredictor<double[]> treeSHAPPredictor) |
double |
getInitF() |
PredictContributions |
makeContributionsPredictor()
Create an instance of PredictContributions
The returned implementation is not guaranteed to be thread-safe and the caller is responsible for making sure
each thread will have own copy of the instance
|
_computeGraph, calibrateClassProbabilities, computeTreeGraph, convert, getDecisionPath, getDecisionPath, getDecisionPath, getDecisionPathNames, getLeafNodeAssignments, getLeafNodeId, getNTreeGroups, getNTreesPerGroup, postInit, scoreAllTrees, scoreSingleTree, scoreStagedPredictions, scoreTree, scoreTree, scoreTree0, scoreTree0, scoreTree1, scoreTree1, scoreTreeRange, treeName, unifyPredsgetModelCategory, getUUID, isSupervised, load, load, nclasses, nfeaturesbitSetContains, bitSetIsInRange, convertDouble2Float, correctProbabilities, createAuxKey, features, GBM_rescale, getColIdx, getDomainValues, getDomainValues, getDomainValues, getHeader, getModelCategories, getNames, getNumClasses, getNumCols, getNumResponseClasses, getPrediction, 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, score0, score0, setCats, setCats, setInput, setInputprotected SharedTreeMojoModelWithContributions(java.lang.String[] columns,
java.lang.String[][] domains,
java.lang.String responseColumn)
public PredictContributions makeContributionsPredictor()
PredictContributionsFactorymakeContributionsPredictor in interface PredictContributionsFactorypublic double getInitF()
protected abstract SharedTreeMojoModelWithContributions.ContributionsPredictor getContributionsPredictor(TreeSHAPPredictor<double[]> treeSHAPPredictor)