AIMA.Core.Learning.Learners.AdaBoostLearner.weightedMajority C# (CSharp) Method

weightedMajority() private method

private weightedMajority ( Example e ) : String
e AIMA.Core.Learning.Framework.Example
return String
        private String weightedMajority(Example e)
        {
            List<String> targetValues = dataSet.getPossibleAttributeValues(dataSet
                    .getTargetAttributeName());

            Table<String, Learner, Double> table = createTargetValueLearnerTable(
                    targetValues, e);
            return getTargetValueWithTheMaximumVotes(targetValues, table);
        }