Search in sources :

Example 1 with TargetValueStat

use of org.dmg.pmml.TargetValueStatDocument.TargetValueStat in project knime-core by knime.

the class NumericalAttributeModel method exportToPMMLInternal.

/**
 * {@inheritDoc}
 */
@Override
void exportToPMMLInternal(final BayesInput bayesInput) {
    final TargetValueStats targetValueStats = bayesInput.addNewTargetValueStats();
    for (final NumericalClassValue classVal : m_classValues.values()) {
        final TargetValueStat targetValueStat = targetValueStats.addNewTargetValueStat();
        classVal.exportToPMML(targetValueStat);
    }
}
Also used : TargetValueStats(org.dmg.pmml.TargetValueStatsDocument.TargetValueStats) TargetValueStat(org.dmg.pmml.TargetValueStatDocument.TargetValueStat)

Aggregations

TargetValueStat (org.dmg.pmml.TargetValueStatDocument.TargetValueStat)1 TargetValueStats (org.dmg.pmml.TargetValueStatsDocument.TargetValueStats)1