|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knime.core.data.container.AbstractCellFactory
org.knime.base.node.mine.regression.logistic.predict.LogRegPredictor
public final class LogRegPredictor
A Predictor for a logistic regression model.
| Constructor Summary | |
|---|---|
LogRegPredictor(PMMLGeneralRegressionContent content,
DataTableSpec inSpec,
PMMLPortObjectSpec portSpec,
String targetVariableName,
boolean includeProbabilites)
This constructor should be used when executing the node. |
|
LogRegPredictor(PMMLPortObjectSpec portSpec,
DataTableSpec tableSpec,
boolean includeProbabilites)
This constructor should be used during the configure phase of a node. |
|
| Method Summary | |
|---|---|
static DataColumnSpec[] |
createColumnSpec(PMMLPortObjectSpec portSpec,
DataTableSpec tableSpec,
boolean includeProbabilites)
Creates the spec of the output if possible. |
DataCell[] |
getCells(DataRow row)
Get the new cells for a given row. |
| Methods inherited from class org.knime.core.data.container.AbstractCellFactory |
|---|
getColumnSpecs, getMaxParallelWorkers, getMaxQueueSize, isParallelProcessing, setParallelProcessing, setParallelProcessing, setProgress |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogRegPredictor(PMMLPortObjectSpec portSpec,
DataTableSpec tableSpec,
boolean includeProbabilites)
throws InvalidSettingsException
portSpec - the spec of the pmml input porttableSpec - the spec of the data input portincludeProbabilites - add probabilities to the output
InvalidSettingsException - when tableSpec and portSpec do not match
public LogRegPredictor(PMMLGeneralRegressionContent content,
DataTableSpec inSpec,
PMMLPortObjectSpec portSpec,
String targetVariableName,
boolean includeProbabilites)
throws InvalidSettingsException
content - the general regression contentinSpec - the spec of the data input portportSpec - the pmml port object spectargetVariableName - the name of the target variableincludeProbabilites - add probabilities to the output
InvalidSettingsException - when inSpec and regModel do not match| Method Detail |
|---|
public static DataColumnSpec[] createColumnSpec(PMMLPortObjectSpec portSpec,
DataTableSpec tableSpec,
boolean includeProbabilites)
throws InvalidSettingsException
portSpec - the spec of the pmml input porttableSpec - the spec of the data input portincludeProbabilites - add probabilities to the output
InvalidSettingsException - when tableSpec and portSpec do not matchpublic DataCell[] getCells(DataRow row)
row - The row of interest.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||