public class RevisePepperAdaptableLearnRate extends Revise
Constructor and Description |
---|
RevisePepperAdaptableLearnRate() |
RevisePepperAdaptableLearnRate(double alphaMax,
double alphaMin) |
Modifier and Type | Method and Description |
---|---|
double |
getICR()
Method to return the ICR value of the revised pepper case
|
java.math.BigDecimal |
getResult()
Method to return the revised (and corrected if needed) ICR value
|
java.math.BigDecimal |
getResult(java.lang.Object id)
Method to return the revised (and corrected if needed) ICR value
|
boolean |
neededCorrection()
Method to return wether the ICR result needed a correction upon revision.
|
void |
revise(CBR cbr)
Abstract method which once implemented in the subclass will compute the
the resivion of the cases returned by a reuse.
|
void |
revise(Population test,
java.lang.String correctnessAttribute)
Revise method to compute a revised ICR value for a Pepper case.
|
void |
setAlpha(double newAlpha) |
void |
setLearningRateParameters(double alphaMax,
double alphaMin) |
void |
setPatientData(double Gl,
double Gh,
double Gsp,
double choMean,
double weight) |
public RevisePepperAdaptableLearnRate()
public RevisePepperAdaptableLearnRate(double alphaMax, double alphaMin)
public void setLearningRateParameters(double alphaMax, double alphaMin)
public void setAlpha(double newAlpha)
public void setPatientData(double Gl, double Gh, double Gsp, double choMean, double weight)
public void revise(CBR cbr)
Revise
public void revise(Population test, java.lang.String correctnessAttribute)
public double getICR()
public boolean neededCorrection()
public java.math.BigDecimal getResult()