Package adams.flow.container
Class WekaAssociatorContainer
- java.lang.Object
-
- adams.flow.container.AbstractContainer
-
- adams.flow.container.WekaModelContainer
-
- adams.flow.container.WekaAssociatorContainer
-
- All Implemented Interfaces:
adams.core.CloneHandler<adams.flow.container.Container>
,adams.core.GlobalInfoSupporter
,adams.data.spreadsheet.SpreadSheetSupporter
,adams.flow.container.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
-
-
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
-
-
-
-
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
-
names
public Iterator<String> names()
Returns all value names that can be used (theoretically).- Specified by:
names
in interfaceadams.flow.container.Container
- Overrides:
names
in classWekaModelContainer
- Returns:
- enumeration over all possible value names
-
-