weka.classifiers.immune.airs.algorithm
Class AIRS1Trainer
java.lang.Object
weka.classifiers.immune.airs.algorithm.AIRS1Trainer
- All Implemented Interfaces:
- AISTrainer
public class AIRS1Trainer
- extends java.lang.Object
- implements AISTrainer
Type: AIRS1Trainer
File: AIRS1Trainer.java
Date: 30/12/2004
Description:
- Author:
- Jason Brownlee
|
Constructor Summary |
AIRS1Trainer(double aAffinityThresholdScalar,
double aClonalRate,
double aHyperMutationRate,
double aMutationRate,
double aTotalResources,
double aStimulationValue,
int aNumInstancesAffinityThreshold,
java.util.Random aRand,
int aArbCellPoolInitialSize,
int aMemoryCellPoolInitialSize,
int aKNN)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AIRS1Trainer
public AIRS1Trainer(double aAffinityThresholdScalar,
double aClonalRate,
double aHyperMutationRate,
double aMutationRate,
double aTotalResources,
double aStimulationValue,
int aNumInstancesAffinityThreshold,
java.util.Random aRand,
int aArbCellPoolInitialSize,
int aMemoryCellPoolInitialSize,
int aKNN)
algorithmPreperation
public void algorithmPreperation(weka.core.Instances aInstances)
getTrainingSummary
public java.lang.String getTrainingSummary()
- Specified by:
getTrainingSummary in interface AISTrainer
train
public AISModelClassifier train(weka.core.Instances instances)
throws java.lang.Exception
- Specified by:
train in interface AISTrainer
- Throws:
java.lang.Exception
setAffinityThreshold
public void setAffinityThreshold(double a)