groupByTargetVariable method

Map<BayesVariable, List<Answer>> groupByTargetVariable()

Groups Answers by Answer.targetValue BayesVariable.

Implementation

Map<BayesVariable, List<Answer>> groupByTargetVariable() =>
    this.groupBy((e) => e.targetValue.variable);