|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.flow.container.AbstractContainer
adams.flow.container.WekaModelContainer
public class WekaModelContainer
A container for models (e.g., classifier or clusterer) and an optional header of a dataset.
| Field Summary | |
|---|---|
static String |
VALUE_DATASET
the identifier for the full dataset. |
static String |
VALUE_HEADER
the identifier for the Header. |
static String |
VALUE_MODEL
the identifier for the Model. |
| Fields inherited from class adams.flow.container.AbstractContainer |
|---|
m_AdditionalNames, m_Values |
| Constructor Summary | |
|---|---|
WekaModelContainer()
Initializes the container. |
|
WekaModelContainer(Object model)
Initializes the container with no header. |
|
WekaModelContainer(Object model,
weka.core.Instances header)
Initializes the container with no header. |
|
WekaModelContainer(Object model,
weka.core.Instances header,
weka.core.Instances data)
Initializes the container with no header. |
|
| Method Summary | |
|---|---|
boolean |
isValid()
Checks whether the setup of the container is valid. |
Enumeration<String> |
names()
Returns all value names that can be used (theoretically). |
| Methods inherited from class adams.flow.container.AbstractContainer |
|---|
addAdditionalName, checkDefaultConstructor, getClone, getValue, hasValue, isValidName, removeAdditionalName, setValue, store, stored, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String VALUE_MODEL
public static final String VALUE_HEADER
public static final String VALUE_DATASET
| Constructor Detail |
|---|
public WekaModelContainer()
public WekaModelContainer(Object model)
model - the model to use
public WekaModelContainer(Object model,
weka.core.Instances header)
model - the model to useheader - the header to use
public WekaModelContainer(Object model,
weka.core.Instances header,
weka.core.Instances data)
model - the model to useheader - the header to usedata - the data to use| Method Detail |
|---|
public Enumeration<String> names()
names in class AbstractContainerpublic boolean isValid()
isValid in class AbstractContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||