Class SemidirectedPrecision
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.SemidirectedPrecision
- All Implemented Interfaces:
Statistic
,Serializable
The bidirected true positives.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the abbreviation for the statistic.Returns a short one-line description of this statistic.double
getNormValue
(double value) Returns the normalized value of the statistic.double
Calculates the semi-directed precision value.
-
Constructor Details
-
SemidirectedPrecision
public SemidirectedPrecision()Constructs the statistic.
-
-
Method Details
-
getAbbreviation
Returns the abbreviation for the statistic.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation.
-
getDescription
Returns a short one-line description of this statistic. This will be printed at the beginning of the report.- Specified by:
getDescription
in interfaceStatistic
- Returns:
- The description of the statistic.
-
getValue
Calculates the semi-directed precision value. -
getNormValue
public double getNormValue(double value) Returns the normalized value of the statistic.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value of the statistic.
-