|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.uiuc.ge.illigal.gale.GALE
Entry point for running GALE environment.
Field Summary | |
protected boolean |
bDump
Board dump flag |
protected boolean |
bFolds
Cross validation fold size used |
protected boolean |
bHoldOut
Hold out requires |
protected edu.uiuc.ge.illigal.gale.board.Board |
brd
The board used by GALE |
protected boolean |
bSaveFiles
Save folders required |
protected java.util.Date |
dateStart
Data of startup |
protected float |
fHoldOutProp
Use hold out |
protected edu.uiuc.ge.illigal.gale.config.GALEConfiguration |
galeCnf
GALE configuration object |
protected int |
iKFolds
Number of folds |
protected edu.uiuc.ge.illigal.gale.data.InstanceSet |
insSet
GALE training instance set |
protected edu.uiuc.ge.illigal.gale.data.InstanceSet |
insTestSet
GALE test instance set |
protected edu.uiuc.ge.illigal.gale.io.IOFactory |
ioFac
The IO Factory |
protected java.lang.String |
sGALEConfigFile
Configuration file name |
protected java.lang.String |
sTestFile
Test file name (if provided, cross-validation disabled) |
protected java.lang.String |
sTrainFile
Train file name |
static java.lang.String |
sVersion
GALE version identification sting |
Constructor Summary | |
GALE(java.lang.String[] sArgs)
Configures GALE environment |
Method Summary | |
protected edu.uiuc.ge.illigal.gale.agents.AgentPerformance |
baggingTest(edu.uiuc.ge.illigal.gale.data.OrderedSet os)
Tests using bagging. |
protected edu.uiuc.ge.illigal.gale.agents.AgentPerformance |
bestAgentTest(edu.uiuc.ge.illigal.gale.data.OrderedSet os)
Tests using the best obtained agent. |
void |
close()
Invocation method for running GALE environment. |
protected void |
crossValidation()
Runs cross-validation. |
protected void |
dumpHeader(java.lang.String chn,
int iNumIns)
Dumps the header into the given channel |
protected static java.lang.String |
listOptions()
Returns the set of available option |
static void |
main(java.lang.String[] sArgs)
Invocation method for running GALE environment. |
void |
run()
Runs GALE environment. |
protected void |
saveFolds(edu.uiuc.ge.illigal.gale.data.OrderedSet[] osa)
Saves the folds to files. |
protected void |
saveHoldOut(edu.uiuc.ge.illigal.gale.data.InstanceSet[] insa)
Saves the holdout instance sets to files. |
protected void |
trainTestRun()
Runs train an test. |
protected void |
updateOptions(java.lang.String[] sArgs)
Updates the command line options for GALE environment. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String sVersion
protected java.lang.String sGALEConfigFile
protected java.lang.String sTrainFile
protected java.lang.String sTestFile
protected boolean bFolds
protected int iKFolds
protected edu.uiuc.ge.illigal.gale.config.GALEConfiguration galeCnf
protected edu.uiuc.ge.illigal.gale.data.InstanceSet insSet
protected edu.uiuc.ge.illigal.gale.data.InstanceSet insTestSet
protected edu.uiuc.ge.illigal.gale.board.Board brd
protected edu.uiuc.ge.illigal.gale.io.IOFactory ioFac
protected boolean bSaveFiles
protected boolean bHoldOut
protected float fHoldOutProp
protected java.util.Date dateStart
protected boolean bDump
Constructor Detail |
public GALE(java.lang.String[] sArgs) throws java.lang.Exception
sArgs
- command line arguments
java.lang.Exception
- could not initialize GALE environmentMethod Detail |
public void run() throws java.lang.Exception
java.lang.Exception
- could not initialize GALE environmentprotected void crossValidation() throws java.lang.Exception
java.lang.Exception
- could not initialize GALE environmentprotected void trainTestRun() throws java.lang.Exception
java.lang.Exception
- could not initialize GALE environmentprotected void saveHoldOut(edu.uiuc.ge.illigal.gale.data.InstanceSet[] insa) throws java.lang.Exception
insa
- the array of instance sets
java.lang.Exception
- problems using the channelsprotected edu.uiuc.ge.illigal.gale.agents.AgentPerformance bestAgentTest(edu.uiuc.ge.illigal.gale.data.OrderedSet os) throws java.lang.Exception
os
- the set of instances to use
java.lang.Exception
- could not initialize GALE environmentprotected edu.uiuc.ge.illigal.gale.agents.AgentPerformance baggingTest(edu.uiuc.ge.illigal.gale.data.OrderedSet os) throws java.lang.Exception
os
- the set of instances to use
java.lang.Exception
- could not initialize GALE environmentprotected void updateOptions(java.lang.String[] sArgs) throws java.lang.Exception
sArgs
- command line arguments
java.lang.Exception
- command line errorprotected void saveFolds(edu.uiuc.ge.illigal.gale.data.OrderedSet[] osa) throws java.lang.Exception
osa
- the array of folds
java.lang.Exception
- problems using the channelsprotected void dumpHeader(java.lang.String chn, int iNumIns) throws java.lang.Exception
chn
- the channel to useiNumIns
- the number of instances
java.lang.Exception
- problems closing the channelspublic void close() throws java.lang.Exception
java.lang.Exception
- problems closing the channelsprotected static java.lang.String listOptions()
public static void main(java.lang.String[] sArgs)
sArgs
- command line arguments
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |