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.doublegetNormValue(double value) Returns the normalized value of the statistic.doublegetValue(Graph trueGraph, Graph estGraph, DataModel dataModel, Parameters parameters) 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:
getAbbreviationin 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:
getDescriptionin 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:
getNormValuein interfaceStatistic- Parameters:
value- The value of the statistic.- Returns:
- The normalized value of the statistic.
-