Class F1Score
java.lang.Object
org.neo4j.gds.ml.metrics.classification.F1Score
- All Implemented Interfaces:
ClassificationMetric,Metric
-
Field Summary
FieldsFields inherited from interface org.neo4j.gds.ml.metrics.classification.ClassificationMetric
EPSILON -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.neo4j.gds.ml.metrics.Metric
isModelSpecific
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
F1Score
public F1Score(long originalTarget, int internalTarget)
-
-
Method Details
-
compute
public double compute(org.neo4j.gds.collections.ha.HugeIntArray targets, org.neo4j.gds.collections.ha.HugeIntArray predictions) - Specified by:
computein interfaceClassificationMetric
-
equals
-
hashCode
public int hashCode() -
toString
-
name
-
comparator
- Specified by:
comparatorin interfaceMetric
-