|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.base.node.preproc.autobinner.AutoBinner
public class AutoBinner
Creates Bins. Use this class in other nodes.
| Constructor Summary | |
|---|---|
AutoBinner(AutoBinnerLearnSettings settings)
|
|
| Method Summary | |
|---|---|
BufferedDataTable |
calcDomainBoundsIfNeccessary(BufferedDataTable data,
ExecutionContext exec,
List<String> recalcValuesFor)
Determines the per column min/max values of the given data if not already present in the domain. |
PMMLPreprocDiscretize |
execute(BufferedDataTable data,
ExecutionContext exec)
Determine bins. |
PortObjectSpec[] |
getOutputSpec(DataTableSpec spec)
|
static void |
validateSettings(AutoBinnerLearnSettings settings)
Validates the settings in the passed AutoBinnerLearnSettings
object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutoBinner(AutoBinnerLearnSettings settings)
throws InvalidSettingsException
settings - The settings object.
InvalidSettingsException - when settings are not consistent| Method Detail |
|---|
public PMMLPreprocDiscretize execute(BufferedDataTable data,
ExecutionContext exec)
throws Exception
data - the input dataexec - the execution context
Exception
public BufferedDataTable calcDomainBoundsIfNeccessary(BufferedDataTable data,
ExecutionContext exec,
List<String> recalcValuesFor)
throws InvalidSettingsException,
CanceledExecutionException
data - the dataexec - the execution contextrecalcValuesFor - The columns
InvalidSettingsException
CanceledExecutionException
public PortObjectSpec[] getOutputSpec(DataTableSpec spec)
throws InvalidSettingsException
spec - The DataTableSpec of the input table.
InvalidSettingsException - If settings and spec given in
the constructor are invalid.
public static void validateSettings(AutoBinnerLearnSettings settings)
throws InvalidSettingsException
AutoBinnerLearnSettings
object. The specified settings is checked for completeness and
consistency.
settings - The settings to validate.
InvalidSettingsException - If the validation of the settings
failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||