|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--mark.nlp.classifiers.InstanceFactory
|
+--mark.nlp.weka.WekaInstanceFactory
An InstanceFactory that constructs the information that weka.classifiers.Classifers need to train.
| Constructor Summary | |
WekaInstanceFactory()
|
|
| Method Summary | |
java.lang.Object |
dataSetInformation(DataSet dataSet,
FileCategorySet catSet,
ObjectMap features)
Returns information applicable to all instances in the data set. |
java.lang.Object |
instanceInformation(java.lang.Object dataSetInformation,
SparseBagInstance instanceData)
Returns information specific to a single instance. |
java.lang.Object |
instanceListInformation(java.lang.Object dataSetInformation,
java.lang.String name,
SparseBagInstance[] instances)
Returns information specific to a list of instances. |
java.lang.String |
instanceListString(java.lang.Object dataSetInformation,
java.lang.Object instanceListInformation)
Given instance list information, generates a string that describes the instance list. |
| Methods inherited from class mark.nlp.classifiers.InstanceFactory |
genFactory, genName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public WekaInstanceFactory()
| Method Detail |
public java.lang.Object dataSetInformation(DataSet dataSet,
FileCategorySet catSet,
ObjectMap features)
throws java.lang.Exception
InstanceFactory
dataSetInformation in class InstanceFactorycatSet - the file category set that describes the categories.features - the features to use.
java.lang.ExceptionInstanceFactory
public java.lang.Object instanceListInformation(java.lang.Object dataSetInformation,
java.lang.String name,
SparseBagInstance[] instances)
throws java.lang.Exception
InstanceFactory
instanceListInformation in class InstanceFactorydataSetInformation - the information generated by
dataSetInformation ().instances - the list data.
java.lang.ExceptionInstanceFactory
public java.lang.Object instanceInformation(java.lang.Object dataSetInformation,
SparseBagInstance instanceData)
throws java.lang.Exception
InstanceFactory
instanceInformation in class InstanceFactorydataSetInformation - the information generated by
dataSetInformation ().instanceData - the instance data.
java.lang.ExceptionInstanceFactory
public java.lang.String instanceListString(java.lang.Object dataSetInformation,
java.lang.Object instanceListInformation)
InstanceFactory
instanceListString in class InstanceFactorydataSetInformation - the information generated by
dataSetInformation ().instanceListInformation - the information generated by
instanceListInformation ().InstanceFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||