weka.classifiers.immune.airs.algorithm
Class AIRS2Trainer

java.lang.Object
  extended by weka.classifiers.immune.airs.algorithm.AIRS2Trainer
All Implemented Interfaces:
AISTrainer

public class AIRS2Trainer
extends java.lang.Object
implements AISTrainer

Type: AIRS1Trainer File: AIRS1Trainer.java Date: 30/12/2004 Description:

Author:
Jason Brownlee

Constructor Summary
AIRS2Trainer(double aAffinityThresholdScalar, double aClonalRate, double aHyperMutationRate, double aTotalResources, double aStimulationValue, int aNumInstancesAffinityThreshold, java.util.Random aRand, int aMemoryCellPoolInitialSize, int aKNN)
           
 
Method Summary
 void algorithmPreperation(weka.core.Instances aInstances)
           
 java.lang.String getTrainingSummary()
           
 void setAffinityThreshold(double a)
           
 AISModelClassifier train(weka.core.Instances instances)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AIRS2Trainer

public AIRS2Trainer(double aAffinityThresholdScalar,
                    double aClonalRate,
                    double aHyperMutationRate,
                    double aTotalResources,
                    double aStimulationValue,
                    int aNumInstancesAffinityThreshold,
                    java.util.Random aRand,
                    int aMemoryCellPoolInitialSize,
                    int aKNN)
Method Detail

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)