org.knime.base.node.mine.bfn
Class OneMissingValueReplacementFunction

java.lang.Object
  extended by org.knime.base.node.mine.bfn.OneMissingValueReplacementFunction
All Implemented Interfaces:
BasisFunctionLearnerTable.MissingValueReplacementFunction

final class OneMissingValueReplacementFunction
extends Object
implements BasisFunctionLearnerTable.MissingValueReplacementFunction

One replacement.


Field Summary
(package private) static DataCell ONE
          static one replacement value.
 
Constructor Summary
OneMissingValueReplacementFunction()
           
 
Method Summary
 DataCell getMissing(BasisFunctionFilterRow row, int col, BasisFunctionLearnerTable model)
          This function returns the missing replacement value for a given value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ONE

static final DataCell ONE
static one replacement value.

Constructor Detail

OneMissingValueReplacementFunction

OneMissingValueReplacementFunction()
Method Detail

getMissing

public DataCell getMissing(BasisFunctionFilterRow row,
                           int col,
                           BasisFunctionLearnerTable model)
This function returns the missing replacement value for a given value.

Specified by:
getMissing in interface BasisFunctionLearnerTable.MissingValueReplacementFunction
Parameters:
row - the row to replace the missing value in
col - the column index
model - this basis function model
Returns:
the missing replacement value

toString

public String toString()
Overrides:
toString in class Object
Returns:
One


Copyright, 2003 - 2010. 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.