Class OutOfBagError
java.lang.Object
org.neo4j.gds.ml.metrics.classification.OutOfBagError
- All Implemented Interfaces:
Metric
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddPredictionsForTree(DecisionTreePredictor<Integer> decisionTree, int numberOfClasses, Features allFeatureVectors, org.neo4j.gds.core.utils.paged.ReadOnlyHugeLongArray trainSet, com.carrotsearch.hppc.BitSet sampledTrainSet, org.neo4j.gds.collections.haa.HugeAtomicLongArray predictions) static doubleevaluate(org.neo4j.gds.core.utils.paged.ReadOnlyHugeLongArray trainSet, int numberOfClasses, org.neo4j.gds.collections.ha.HugeIntArray expectedLabels, int concurrency, org.neo4j.gds.collections.haa.HugeAtomicLongArray predictions) booleanname()toString()
-
Field Details
-
OUT_OF_BAG_ERROR
-
-
Method Details
-
isModelSpecific
public boolean isModelSpecific()- Specified by:
isModelSpecificin interfaceMetric
-
addPredictionsForTree
public static void addPredictionsForTree(DecisionTreePredictor<Integer> decisionTree, int numberOfClasses, Features allFeatureVectors, org.neo4j.gds.core.utils.paged.ReadOnlyHugeLongArray trainSet, com.carrotsearch.hppc.BitSet sampledTrainSet, org.neo4j.gds.collections.haa.HugeAtomicLongArray predictions) -
evaluate
public static double evaluate(org.neo4j.gds.core.utils.paged.ReadOnlyHugeLongArray trainSet, int numberOfClasses, org.neo4j.gds.collections.ha.HugeIntArray expectedLabels, int concurrency, org.neo4j.gds.collections.haa.HugeAtomicLongArray predictions) -
name
-
toString
-
comparator
- Specified by:
comparatorin interfaceMetric
-