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

java.lang.Object
  extended by org.knime.base.node.mine.bfn.BasisFunctionModelContent

public final class BasisFunctionModelContent
extends Object

Author:
Thomas Gabriel, University of Konstanz

Constructor Summary
BasisFunctionModelContent(DataTableSpec spec, Map<DataCell,List<BasisFunctionLearnerRow>> bfs)
          Creates a new basis function model object.
BasisFunctionModelContent(ModelContentRO modelCont, BasisFunctionPortObject.Creator cr)
          Loads a this basisfunction content from the given file directory.
 
Method Summary
 Map<DataCell,List<BasisFunctionPredictorRow>> getBasisFunctions()
           
 DataTableSpec getSpec()
           
 void save(ModelContentWO modelCont)
          Save the given rule model and model spec into this model content object.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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 from
cr - 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 class
spec - model spec
Method Detail

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.