org.knime.base.node.mine.regression.logistic.learner
Class LogRegLearner
java.lang.Object
org.knime.base.node.mine.regression.logistic.learner.LogRegLearner
public final class LogRegLearner
- extends Object
Logistic Regression Learner implementation.
- Author:
- Heiko Hofer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LogRegLearner
public LogRegLearner(PortObjectSpec[] specs,
LogRegLearnerSettings settings)
throws InvalidSettingsException
- Parameters:
specs - The input specs.settings - The settings object.
- Throws:
InvalidSettingsException - when settings are not consistent- See Also:
LogRegLearnerNodeModel.configure(PortObjectSpec[])
execute
public LogisticRegressionContent execute(PortObject[] portObjects,
ExecutionContext exec)
throws Exception
- Compute logistic regression model.
- Parameters:
portObjects - The input objects.exec - the execution context
- Returns:
- a
LogisticRegressionContent storing computed data
- Throws:
Exception - if computation of the logistic regression model is
not successful or if given data is inconsistent with the settings
defined in the constructor.- See Also:
LogRegLearnerNodeModel#execute(PortObjectSpec[])
getOutputSpec
public PortObjectSpec[] getOutputSpec()
throws InvalidSettingsException
- Returns:
- The spec of the output.
- Throws:
InvalidSettingsException - If settings and spec given in
the constructor are invalid.
validateSettings
public static void validateSettings(NodeSettingsRO settings)
throws InvalidSettingsException
- Validates the settings in the passed
NodeSettings object.
The specified settings is checked for completeness and
consistency.
- Parameters:
settings - The settings to validate.
- Throws:
InvalidSettingsException - If the validation of the settings
failed.
Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.