org.knime.base.node.mine.bfn
Class BasisFunctionModelContent
java.lang.Object
org.knime.base.node.mine.bfn.BasisFunctionModelContent
public final class BasisFunctionModelContent
- extends Object
- Author:
- Thomas Gabriel, University of Konstanz
BasisFunctionModelContent
public BasisFunctionModelContent(ModelContentRO modelCont,
BasisFunctionPortObject.Creator cr)
throws InvalidSettingsException
- Loads a this basisfunction content from the given file directory.
- Parameters:
modelCont
- model content to read rules and spec fromcr
- used to instantiate basisfunction predictor rows
- Throws:
InvalidSettingsException
- if rule and/or spec can't be read
BasisFunctionModelContent
public BasisFunctionModelContent(DataTableSpec spec,
Map<DataCell,List<BasisFunctionLearnerRow>> bfs)
- Creates a new basis function model object.
- Parameters:
bfs
- basisfunction rules by classspec
- model spec
getSpec
public DataTableSpec getSpec()
- Returns:
- model spec
getBasisFunctions
public Map<DataCell,List<BasisFunctionPredictorRow>> getBasisFunctions()
- Returns:
- basisfunctions rules by class
save
public void save(ModelContentWO modelCont)
- Save the given rule model and model spec into this model content object.
- Parameters:
modelCont
- save spec and rule to
toString
public String toString()
-
- Overrides:
toString
in class Object
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.