|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectucs.UCSconfig
Configuration object for UCS. You must make one of these before you can run UCS.
Field Summary | |
double |
coveringProbability
Probabililty of covering. |
double |
crossoverProb
The probability of choosing crossover instead of mutation to perform on a rule condition. |
FitnessFunction |
fitfunc
Object specifying the fitness function. |
int |
gaThreshold
The GA threshold. |
double |
inexperiencePenalty
The factor by which to discount when experience is too low. |
int |
inexperienceThreshold
The experience threshold under which the accuracy is discounted. |
double |
mutationProb
The probability of mutating a single point in a rule condition. |
double |
noise
Probability of class noise being added to each example in the training data. |
boolean |
onlinelearning
Online learning or offline learing. |
int |
POPMAXSIZE
Maximum population size to allow. |
SystemPredictor |
systemPredictor
Object specifying the system predictor. |
java.lang.String |
testingFile
String specifying the file to source testing data from. |
int |
ThetaDel
Deletion vote experience threshold. |
double |
ThetaDelFrac
Deletion vote fraction. |
int |
ThetaSub
Subsumption experience threshold. |
double |
ThetaSubAccuracyMinimum
|
java.lang.String |
trainingFile
String specifying the file to source training data from. |
int |
v
Parameter controlling fitness evaluation for UCS, accv. |
Constructor Summary | |
UCSconfig()
|
Method Summary | |
java.lang.Object |
clone()
Clones this UCSConfig object. |
void |
load(java.lang.String filename)
Loads a UCSparameters configuration from the specified file. |
void |
print()
Prints out configuration of the current UCSparameters instance. |
void |
setFitnessFunction(FitnessFunction ff)
Sets the fitness function to the supplied object. |
void |
setProblem(java.lang.String train)
Sets the training datafile name to the supplied argument. |
void |
setProblem(java.lang.String train,
java.lang.String test)
Sets the datafile names to the supplied arguments. |
void |
setSystemPredictor(SystemPredictor sp)
Sets the system predictor to the supplied object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public double coveringProbability
public double crossoverProb
public FitnessFunction fitfunc
public int gaThreshold
public double inexperiencePenalty
public int inexperienceThreshold
public double mutationProb
public double noise
public boolean onlinelearning
public int POPMAXSIZE
public SystemPredictor systemPredictor
public java.lang.String testingFile
public int ThetaDel
public double ThetaDelFrac
public int ThetaSub
public double ThetaSubAccuracyMinimum
public java.lang.String trainingFile
public int v
Constructor Detail |
public UCSconfig()
Method Detail |
public java.lang.Object clone()
public void load(java.lang.String filename)
filename
- The file from which to load the configuration.public void print()
public void setFitnessFunction(FitnessFunction ff)
ff
- A fitness function object, either type FitnessFunction or an extension of it.public void setProblem(java.lang.String train)
train
- The filename from which to load data.public void setProblem(java.lang.String train, java.lang.String test)
train
- The filename from which to load training data.test
- The filename from which to load testing data.
If onlinelearning=TRUE, the testing datafile is ignored.public void setSystemPredictor(SystemPredictor sp)
sp
- A system predictor object, either type SystemPredictor or an extension of it.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |