Package org.tribuo.util.infotheory
Class InformationTheory.GTestStatistics
java.lang.Object
org.tribuo.util.infotheory.InformationTheory.GTestStatistics
- Enclosing class:
- InformationTheory
An immutable named tuple containing the statistics from a G test.
Will be a record one day.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal doubleThe G test statistic.final intThe number of states.final doubleThe probability of that statistic. -
Constructor Summary
ConstructorsConstructorDescriptionGTestStatistics(double gStatistic, int numStates, double probability) Constructs a GTestStatistics tuple with the supplied values. -
Method Summary
-
Field Details
-
gStatistic
The G test statistic. -
numStates
The number of states. -
probability
The probability of that statistic.
-
-
Constructor Details
-
GTestStatistics
Constructs a GTestStatistics tuple with the supplied values.- Parameters:
gStatistic- The g test statistic.numStates- The number of states.probability- The probability of that statistic.
-
-
Method Details