|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Evalable
Interface for components which use maximum entropy models and can evaluate the performace of the models using the TrainEval class.
Method Summary | |
---|---|
EventCollector |
getEventCollector(java.io.Reader r)
Returns the EventCollector that is used to collect all relevant information from the data file. |
java.lang.String |
getNegativeOutcome()
The outcome that should be considered a negative result. |
void |
localEval(MaxentModel model,
java.io.Reader r,
Evalable e,
boolean verbose)
If the -l option is selected for evaluation, this method will be called rather than TrainEval's evaluation method. |
Method Detail |
---|
java.lang.String getNegativeOutcome()
EventCollector getEventCollector(java.io.Reader r)
r
- A reader containing the data for the event collector
void localEval(MaxentModel model, java.io.Reader r, Evalable e, boolean verbose)
model
- the maxent model to evaluater
- Reader containing the data to processe
- The original Evalable. Probably not relevant.verbose
- a request to print more specific processing information
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |