use of org.knime.base.node.preproc.autobinner.pmml.PMMLDiscretizePreprocPortObjectSpec in project knime-core by knime.
the class AutoBinner method init.
/**
* Initialize instance and check if settings are consistent.
*/
private void init(final DataTableSpec inSpec) throws InvalidSettingsException {
PMMLPreprocDiscretize op = createDisretizeOp(null);
AutoBinnerApply applier = new AutoBinnerApply();
m_tableOutSpec = applier.getOutputSpec(op, inSpec);
m_pmmlOutSpec = new PMMLDiscretizePreprocPortObjectSpec(op);
}
use of org.knime.base.node.preproc.autobinner.pmml.PMMLDiscretizePreprocPortObjectSpec in project knime-core by knime.
the class AutoBinner method init.
/**
* Initialize instance and check if settings are consistent.
*/
private void init(final DataTableSpec inSpec) throws InvalidSettingsException {
PMMLPreprocDiscretize op = createDisretizeOp(null);
AutoBinnerApply applier = new AutoBinnerApply();
m_tableOutSpec = applier.getOutputSpec(op, inSpec);
m_pmmlOutSpec = new PMMLDiscretizePreprocPortObjectSpec(op);
}
use of org.knime.base.node.preproc.autobinner.pmml.PMMLDiscretizePreprocPortObjectSpec in project knime-core by knime.
the class AutoBinner method init.
/**
* Initialize instance and check if settings are consistent.
*/
private void init(final DataTableSpec inSpec) throws InvalidSettingsException {
PMMLPreprocDiscretize op = createDisretizeOp(null);
AutoBinnerApply applier = new AutoBinnerApply();
m_tableOutSpec = applier.getOutputSpec(op, inSpec);
m_pmmlOutSpec = new PMMLDiscretizePreprocPortObjectSpec(op);
}
use of org.knime.base.node.preproc.autobinner.pmml.PMMLDiscretizePreprocPortObjectSpec in project knime-core by knime.
the class AutoBinnerApplyNodeModel method configure.
/**
* {@inheritDoc}
*/
@Override
protected PortObjectSpec[] configure(final PortObjectSpec[] inSpecs) throws InvalidSettingsException {
PMMLDiscretizePreprocPortObjectSpec pmmlPortSpec = (PMMLDiscretizePreprocPortObjectSpec) inSpecs[0];
PMMLPreprocDiscretize op = pmmlPortSpec.getOperation();
DataTableSpec dataSpec = (DataTableSpec) inSpecs[1];
AutoBinnerApply applier = new AutoBinnerApply();
return new PortObjectSpec[] { applier.getOutputSpec(op, dataSpec) };
}
Aggregations