Package gov.nih.mipav.model.algorithms
Class StochasticForests.ForestRegression
java.lang.Object
gov.nih.mipav.model.algorithms.StochasticForests.Forest
gov.nih.mipav.model.algorithms.StochasticForests.ForestRegression
- Enclosing class:
StochasticForests
-
Nested Class Summary
Nested classes/interfaces inherited from class gov.nih.mipav.model.algorithms.StochasticForests.Forest
StochasticForests.Forest.computeTreePermutationImportanceInThread, StochasticForests.Forest.growTreesInThread, StochasticForests.Forest.predictInternalInThread, StochasticForests.Forest.predictTreesInThread, StochasticForests.Forest.showProgress -
Field Summary
Fields inherited from class gov.nih.mipav.model.algorithms.StochasticForests.Forest
alpha, case_weights, data, dependent_varID, deterministic_varIDs, holdout, importance_mode, keep_inbag, memory_mode, memory_saving_splitting, min_node_size, minprop, mtry, mutex, num_independent_variables, num_random_splits, num_samples, num_threads, num_trees, num_variables, output_prefix, overall_prediction_error, predict_all, prediction_mode, prediction_type, predictions, progress, random, sample_fraction, sample_with_replacement, seed, split_select_varIDs, split_select_weights, splitrule, thread_ranges, trees, variable_importance, verbose_out -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidinitInternal(String status_variable_name) voidloadForest(int dependent_varID, int num_trees, Vector<Vector<Vector<Integer>>> forest_child_nodeIDs, Vector<Vector<Integer>> forest_split_varIDs, Vector<Vector<Double>> forest_split_values, Vector<Boolean> is_ordered_variable) voidvoidpredictInternal(int sample_idx) voidvoidvoidvoidMethods inherited from class gov.nih.mipav.model.algorithms.StochasticForests.Forest
computePermutationImportance, computePredictionError, dispose, getChildNodeIDs, getDependentVarId, getInbagCounts, getIsOrderedVariable, getMinNodeSize, getMtry, getNumIndependentVariables, getNumTrees, getOverallPredictionError, getPredictions, getSplitValues, getSplitVarIDs, getVariableImportance, grow, init, initCpp, initR, loadFromFile, predict, run, saveToFile, setAlwaysSplitVariables, setSplitWeightVector, writeImportanceFile, writeOutput
-
Constructor Details
-
ForestRegression
public ForestRegression()
-
-
Method Details
-
loadForest
-
initInternal
- Specified by:
initInternalin classStochasticForests.Forest
-
growInternal
public void growInternal()- Specified by:
growInternalin classStochasticForests.Forest
-
allocatePredictMemory
public void allocatePredictMemory()- Specified by:
allocatePredictMemoryin classStochasticForests.Forest
-
predictInternal
public void predictInternal(int sample_idx) - Specified by:
predictInternalin classStochasticForests.Forest
-
computePredictionErrorInternal
public void computePredictionErrorInternal()- Specified by:
computePredictionErrorInternalin classStochasticForests.Forest
-
writeOutputInternal
public void writeOutputInternal()- Specified by:
writeOutputInternalin classStochasticForests.Forest
-
writeConfusionFile
public void writeConfusionFile()- Specified by:
writeConfusionFilein classStochasticForests.Forest
-
writePredictionFile
public void writePredictionFile()- Specified by:
writePredictionFilein classStochasticForests.Forest
-
saveToFileInternal
- Specified by:
saveToFileInternalin classStochasticForests.Forest
-
loadFromFileInternal
- Specified by:
loadFromFileInternalin classStochasticForests.Forest
-