org.knime.base.node.mine.bfn
Class BestGuessMissingValueReplacementFunction
java.lang.Object
org.knime.base.node.mine.bfn.BestGuessMissingValueReplacementFunction
- All Implemented Interfaces:
- BasisFunctionLearnerTable.MissingValueReplacementFunction
final class BestGuessMissingValueReplacementFunction
- extends Object
- implements BasisFunctionLearnerTable.MissingValueReplacementFunction
"Best Guess" replacement which searches for the best value in the model or
just takes the mean if not available.
BestGuessMissingValueReplacementFunction
BestGuessMissingValueReplacementFunction()
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 incol
- the column indexmodel
- this basis function model
- Returns:
- the missing replacement value
toString
public String toString()
- Overrides:
toString
in class Object
- Returns:
- Best Guess
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.