Interface Statistic
- All Superinterfaces:
- Serializable
- All Known Implementing Classes:
- AdjacencyFN,- AdjacencyFP,- AdjacencyFPR,- AdjacencyPrecision,- AdjacencyRecall,- AdjacencyTN,- AdjacencyTP,- AdjacencyTPR,- AncestorF1,- AncestorPrecision,- AncestorRecall,- AncestralPrecision,- AncestralRecall,- ArrowheadFN,- ArrowheadFP,- ArrowheadFPR,- ArrowheadPrecision,- ArrowheadPrecisionCommonEdges,- ArrowheadRecall,- ArrowheadRecallCommonEdges,- ArrowheadTN,- ArrowheadTP,- AverageDegreeEst,- AverageDegreeTrue,- BicDiff,- BicDiffPerRecord,- BicEst,- BicTrue,- BidirectedEst,- BidirectedFP,- BidirectedLatentPrecision,- BidirectedPrecision,- BidirectedRecall,- BidirectedTP,- BidirectedTrue,- CommonAncestorFalseNegativeBidirected,- CommonAncestorFalsePositiveBidirected,- CommonAncestorTruePositiveBidirected,- CommonMeasuredAncestorRecallBidirected,- CorrectSkeleton,- DefiniteDirectedPathPrecision,- DefiniteDirectedPathRecall,- DensityEst,- DensityTrue,- ElapsedCpuTime,- F1Adj,- F1All,- F1Arrow,- FalseNegativesAdjacencies,- FalsePositiveAdjacencies,- GraphExactlyRight,- LatentCommonAncestorFalseNegativeBidirected,- LatentCommonAncestorFalsePositiveBidirected,- LatentCommonAncestorRecallBidirected,- LatentCommonAncestorTruePositiveBidirected,- LegalPag,- MathewsCorrAdj,- MathewsCorrArrow,- MaximalityCondition,- NoAlmostCyclicPathsCondition,- NoAlmostCyclicPathsInMagCondition,- NoCyclicPathsCondition,- NoCyclicPathsInMagCondition,- NodesInCyclesPrecision,- NodesInCyclesRecall,- NonancestorPrecision,- NonancestorRecall,- NoSemidirectedF1,- NoSemidirectedPrecision,- NoSemidirectedRecall,- NumAmbiguousTriples,- NumberOfEdgesEst,- NumberOfEdgesTrue,- NumBidirectedBothNonancestorAncestor,- NumBidirectedEdgesEst,- NumBidirectedEdgesTrue,- NumColoredDD,- NumColoredNL,- NumColoredPD,- NumColoredPL,- NumCommonMeasuredAncestorBidirected,- NumCompatibleDefiniteDirectedEdgeAncestors,- NumCompatibleDirectedEdgeConfounded,- NumCompatibleDirectedEdgeNonAncestors,- NumCompatibleEdges,- NumCompatiblePossiblyDirectedEdgeAncestors,- NumCompatiblePossiblyDirectedEdgeNonAncestors,- NumCompatibleVisibleAncestors,- NumCompatibleVisibleNonancestors,- NumCorrectDDAncestors,- NumCorrectPDAncestors,- NumCorrectVisibleAncestors,- NumDefinitelyDirected,- NumDefinitelyNotDirectedPaths,- NumDirectedEdgeAncestors,- NumDirectedEdgeBnaMeasuredCounfounded,- NumDirectedEdgeNoMeasureAncestors,- NumDirectedEdgeNotAncNotRev,- NumDirectedEdgeReversed,- NumDirectedEdges,- NumDirectedEdgeVisible,- NumDirectedPathsEst,- NumDirectedPathsTrue,- NumDirectedShouldBePartiallyDirected,- NumIncorrectDDAncestors,- NumIncorrectPDAncestors,- NumIncorrectVisibleAncestors,- NumLatentCommonAncestorBidirected,- NumNondirectedEdges,- NumPartiallyOrientedEdges,- NumPossiblyDirected,- NumUndirectedEdges,- NumVisibleEst,- PagAdjacencyPrecision,- PagAdjacencyRecall,- ParameterColumn,- PercentAmbiguous,- PercentBidirectedEdges,- ProportionSemidirectedPathsNotReversedEst,- ProportionSemidirectedPathsNotReversedTrue,- SemidirectedPathF1,- SemidirectedPrecision,- SemidirectedRecall,- SHD,- TailPrecision,- TailRecall,- TrueDagFalseNegativesArrows,- TrueDagFalseNegativesTails,- TrueDagFalsePositiveArrow,- TrueDagFalsePositiveTails,- TrueDagPrecisionArrow,- TrueDagPrecisionTails,- TrueDagRecallArrows,- TrueDagRecallTails,- TrueDagTruePositiveArrow,- TrueDagTruePositiveDirectedPathNonancestor,- TrueDagTruePositiveTails,- TwoCycleFalseNegative,- TwoCycleFalsePositive,- TwoCyclePrecision,- TwoCycleRecall,- TwoCycleTruePositive
The interface that each statistic needs to implement.
- Author:
- jdramsey
- 
Field SummaryFields
- 
Method SummaryModifier and TypeMethodDescriptionThe abbreviation for the statistic.Returns a short one-line description of this statistic.doublegetNormValue(double value) Returns a mapping of the statistic to the interval [0, 1], with higher being better.doubleReturns the value of this statistic, given the true graph and the estimated graph.
- 
Field Details- 
serialVersionUIDstatic final long serialVersionUID- See Also:
 
 
- 
- 
Method Details- 
getAbbreviationString getAbbreviation()The abbreviation for the statistic. This will be printed at the top of each column.- Returns:
- Thsi abbreviation.
 
- 
getDescriptionString getDescription()Returns a short one-line description of this statistic. This will be printed at the beginning of the report.- Returns:
- This description.
 
- 
getValueReturns the value of this statistic, given the true graph and the estimated graph.- Parameters:
- trueGraph- The true graph (DAG, CPDAG, PAG_of_the_true_DAG).
- estGraph- The estimated graph (same type).
- Returns:
- The value of the statistic.
 
- 
getNormValuedouble getNormValue(double value) Returns a mapping of the statistic to the interval [0, 1], with higher being better. This is used for a calculation of a utility for an algorithm.If the statistic is already between 0 and 1, you can just return the statistic.- Parameters:
- value- The value of the statistic.
- Returns:
- The weight of the statistic, 0 to 1, higher is better.
 
 
-