|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.associations.AbstractAssociator
public abstract class AbstractAssociator
Abstract scheme for learning associations. All schemes for learning associations implemement this class
| Constructor Summary | |
|---|---|
AbstractAssociator()
|
|
| Method Summary | |
|---|---|
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. |
Capabilities |
getCapabilities()
Returns the Capabilities of this associator. |
String |
getRevision()
Returns the revision string. |
static Associator[] |
makeCopies(Associator model,
int num)
Creates copies of the current associator. |
static Associator |
makeCopy(Associator model)
Creates a deep copy of the given associator using serialization. |
static void |
runAssociator(Associator associator,
String[] options)
runs the associator with the given commandline options |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface weka.associations.Associator |
|---|
buildAssociations |
| Constructor Detail |
|---|
public AbstractAssociator()
| Method Detail |
|---|
public 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 associator
public static Associator makeCopy(Associator model)
throws Exception
model - the associator to copy
Exception - if an error occurs
public 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 occurspublic Capabilities getCapabilities()
getCapabilities in interface AssociatorgetCapabilities in interface CapabilitiesHandlerCapabilitiespublic String getRevision()
getRevision in interface RevisionHandler
public static void runAssociator(Associator associator,
String[] options)
associator - the associator to runoptions - the commandline options
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||