|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.associations.Associator
Abstract scheme for learning associations. All schemes for learning associations implemement this class
Constructor Summary | |
Associator()
|
Method Summary | |
abstract void |
buildAssociations(Instances data)
Generates an associator. |
static Associator |
forName(String associatorName,
String[] options)
Creates a new instance of a associator given it's class name and (optional) arguments to pass to it's setOptions method. |
static Associator[] |
makeCopies(Associator model,
int num)
Creates copies of the current associator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Associator()
Method Detail |
public abstract void buildAssociations(Instances data) throws Exception
data
- set of instances serving as training data
Exception
- if the associator has not been
generated successfullypublic static Associator forName(String associatorName, String[] options) throws Exception
associatorName
- the fully qualified class name of the associatoroptions
- an array of options suitable for passing to setOptions. May
be null.
Exception
- if the associator name is invalid, or the options
supplied are not acceptable to the associatorpublic static Associator[] makeCopies(Associator model, int num) throws Exception
model
- an example associator to copynum
- the number of associators copies to create.
Exception
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |