Package edu.cmu.tetrad.search
Record Class CyclicSemScorer.ScoreResult
java.lang.Object
java.lang.Record
edu.cmu.tetrad.search.CyclicSemScorer.ScoreResult
- Record Components:
bic- The Bayesian Information Criterion score of the evaluated system.stable- A boolean flag indicating the stability of the evaluated system.params- The number of parameters used during the evaluation process.
- Enclosing class:
CyclicSemScorer
public static record CyclicSemScorer.ScoreResult(double bic, boolean stable, int params)
extends Record
Immutable result object representing the computed score from a scoring process.
This record encapsulates three key metrics:
- BIC (Bayesian Information Criterion): A statistical measure used for model selection.
- Stability status: Indicates whether the evaluated system is stable or not.
- Number of parameters: The count of parameters used during the scoring process.
The ScoreResult is typically used to evaluate and compare the quality of models
generated or analyzed within a broader scoring framework.
-
Constructor Summary
ConstructorsConstructorDescriptionScoreResult(double bic, boolean stable, int params) Creates an instance of aScoreResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptiondoublebic()Returns the value of thebicrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intparams()Returns the value of theparamsrecord component.booleanstable()Returns the value of thestablerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
bic
public double bic()Returns the value of thebicrecord component.- Returns:
- the value of the
bicrecord component
-
stable
public boolean stable()Returns the value of thestablerecord component.- Returns:
- the value of the
stablerecord component
-
params
public int params()Returns the value of theparamsrecord component.- Returns:
- the value of the
paramsrecord component
-