ListAnswerExtension extension
Methods
-
groupBySelectedVariable(
) → Map< BayesVariable, List< Answer> > -
Groups Answers by Answer.selectedValues
BayesVariable
. -
groupByTargetVariable(
) → Map< BayesVariable, List< Answer> > -
Groups Answers by Answer.targetValue
BayesVariable
. -
oppositeValuesPerformance(
String positiveValue, String negativeValue) → double - Returns the performance by Answer.probability of opposite values:
-
oppositeValuesPerformanceUnnormalized(
String positiveValue, String negativeValue) → double - Returns the performance by Answer.probabilityUnnormalized of opposite values:
-
selectBestVariablesNames(
{int? size, double? sizeRatio, int? minimumSize, int? maximumSize}) → List< String> -
Selects the best variables using the
size
andsizeRatio
criteria. -
sortByFitness(
) → void - Sorts the Answer List by Answer.fitness.
-
sortByPerformance(
) → void - Sorts the Answer List by Answer.performance.
-
sortByProbability(
) → void - Sorts the Answer List by Answer.probability.
-
sortByProbabilityUnnormalized(
) → void - Sorts the Answer List by Answer.probabilityUnnormalized.
-
sortByQuery(
) → void - Sorts the Answer List by Answer.targetValue.
-
sortBySelectedValues(
) → void - Sorts the Answer List by Answer.selectedValues.
-
sortBySelectedValuesSignal(
) → void - Sorts the Answer List by Answer.selectedValues signals.
-
sortByTargetValue(
) → void - Sorts the Answer List by Answer.targetValue.
-
valueProbabilityMean(
String valueName) → double -
Returns the BayesValue matching
valueName
Answer.probability mean. -
valueProbabilityUnnormalizedMean(
String valueName) → double -
Returns the BayesValue matching
valueName
Answer.probabilityUnnormalized mean. -
withSelectedValueName(
String valueName) → List< Answer> -
Filters
Answer
s withAnswer.name
matchingvalueName
. -
withSelectedValueSignal(
BayesValueSignal signal) → List< Answer> -
Filters
Answer
s with Answer.selectedValues matchingsignal
.