org.knime.base.node.mine.regression.logistic.learner
Class Learner

java.lang.Object
  extended by org.knime.base.node.mine.regression.logistic.learner.Learner

final class Learner
extends Object

A Logistic Regression Learner.

Author:
Heiko Hofer

Constructor Summary
Learner(PMMLPortObjectSpec spec)
           
Learner(PMMLPortObjectSpec spec, int maxIter, double eps)
           
 
Method Summary
 LogisticRegressionContent perform(DataTable data, ExecutionContext exec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Learner

Learner(PMMLPortObjectSpec spec)
Parameters:
spec - The PMMLPortObjectSpec of the output table.

Learner

Learner(PMMLPortObjectSpec spec,
        int maxIter,
        double eps)
Parameters:
spec - The PMMLPortObjectSpec of the output table.
maxIter - the maximum number of iterations
eps - threshold used to identify convergence
Method Detail

perform

public LogisticRegressionContent perform(DataTable data,
                                         ExecutionContext exec)
                                  throws CanceledExecutionException
Parameters:
data - The data table.
exec - The execution context used for reporting progress.
Returns:
An object which holds the results.
Throws:
CanceledExecutionException - When method is cancelled


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.