Class LocalGraphPrecision
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.LocalGraphPrecision
- All Implemented Interfaces:
Statistic
,Serializable
The LocalGraphPrecision class implements the Statistic interface and represents the Local Graph Precision statistic.
It calculates the precision between the true graph and the estimated graph locally.
- See Also:
-
Field Summary
Fields inherited from interface edu.cmu.tetrad.algcomparison.statistic.Statistic
serialVersionUID
-
Constructor Summary
ConstructorsConstructorDescriptionThe default constructor of the LocalGraphPrecision class. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the abbreviation for the statistic.Returns a short one-line description of this statistic.double
getNormValue
(double value) This method returns the normalized value of a given statistic.double
This method calculates the Local Graph Precision.
-
Constructor Details
-
LocalGraphPrecision
public LocalGraphPrecision()The default constructor of the LocalGraphPrecision class.
-
-
Method Details
-
getAbbreviation
This method returns the abbreviation for the statistic.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation for the statistic.
-
getDescription
Returns a short one-line description of this statistic.- Specified by:
getDescription
in interfaceStatistic
- Returns:
- The description of the statistic.
-
getValue
This method calculates the Local Graph Precision. It calculates the precision between the true graph and the estimated graph locally. -
getNormValue
public double getNormValue(double value) This method returns the normalized value of a given statistic.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value of the statistic.
-