Package adams.flow.container
Class WekaAssociatorContainer
- java.lang.Object
-
- adams.flow.container.AbstractContainer
-
- adams.flow.container.WekaModelContainer
-
- adams.flow.container.WekaAssociatorContainer
-
- All Implemented Interfaces:
CloneHandler<Container>
,GlobalInfoSupporter
,SpreadSheetSupporter
,Container
,Serializable
public class WekaAssociatorContainer extends WekaModelContainer
Container for associators and their rules.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
VALUE_RULES
the identifier for the rules.-
Fields inherited from class adams.flow.container.WekaModelContainer
VALUE_DATASET, VALUE_HEADER, VALUE_MODEL
-
Fields inherited from class adams.flow.container.AbstractContainer
m_AdditionalNames, m_Help, m_Values
-
-
Constructor Summary
Constructors Constructor Description WekaAssociatorContainer()
Initializes the container.WekaAssociatorContainer(weka.associations.Associator model)
Initializes the container with no header.WekaAssociatorContainer(weka.associations.Associator model, weka.core.Instances header)
Initializes the container with no header.WekaAssociatorContainer(weka.associations.Associator model, weka.core.Instances header, weka.core.Instances data)
Initializes the container with no header.WekaAssociatorContainer(weka.associations.Associator model, weka.core.Instances header, weka.core.Instances data, List<weka.associations.AssociationRule> rules)
Initializes the container with no header.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initHelp()
Initializes the help strings.Iterator<String>
names()
Returns all value names that can be used (theoretically).-
Methods inherited from class adams.flow.container.WekaModelContainer
isValid
-
Methods inherited from class adams.flow.container.AbstractContainer
addAdditionalName, addHelp, addHelp, addHelp, checkDefaultConstructor, getClone, getHelp, getValue, getValue, globalInfo, hasHelp, hasValue, isValidName, removeAdditionalName, setValue, store, stored, toSpreadSheet, toString
-
-
-
-
Field Detail
-
VALUE_RULES
public static final String VALUE_RULES
the identifier for the rules.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WekaAssociatorContainer
public WekaAssociatorContainer()
Initializes the container.
Only used for generating help information.
-
WekaAssociatorContainer
public WekaAssociatorContainer(weka.associations.Associator model)
Initializes the container with no header.- Parameters:
model
- the model to use
-
WekaAssociatorContainer
public WekaAssociatorContainer(weka.associations.Associator model, weka.core.Instances header)
Initializes the container with no header.- Parameters:
model
- the model to useheader
- the header to use
-
WekaAssociatorContainer
public WekaAssociatorContainer(weka.associations.Associator model, weka.core.Instances header, weka.core.Instances data)
Initializes the container with no header.- Parameters:
model
- the model to useheader
- the header to usedata
- the data to use
-
WekaAssociatorContainer
public WekaAssociatorContainer(weka.associations.Associator model, weka.core.Instances header, weka.core.Instances data, List<weka.associations.AssociationRule> rules)
Initializes the container with no header.- Parameters:
model
- the model to useheader
- the header to usedata
- the data to userules
- the rules
-
-
Method Detail
-
initHelp
protected void initHelp()
Initializes the help strings.- Overrides:
initHelp
in classWekaModelContainer
-
-