public class SegmentBestFitResponse
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static SegmentBestFitResponse |
Create(double[] adblPredictorOrdinate,
double[] adblResponseValue)
Construct the SegmentBestFitResponse Instance from the given Predictor Ordinate/Response Pairs, using
Uniform Weightings.
|
static SegmentBestFitResponse |
Create(double[] adblPredictorOrdinate,
double[] adblResponseValue,
double[] adblWeight)
Construct the SegmentBestFitResponse Instance from the given Inputs
|
int |
numPoint()
Retrieve the Number of Fitness Points
|
double[] |
predictorOrdinate()
Retrieve the Array of Predictor Ordinates
|
double |
predictorOrdinate(int iIndex)
Retrieve the Indexed Predictor Ordinate Element
|
double[] |
response()
Retrieve the Array of Responses
|
double |
response(int iIndex)
Retrieve the Indexed Response Element
|
double[] |
weight()
Retrieve the Array of the Fitness Weights
|
double |
weight(int iIndex)
Retrieve the Indexed Fitness Weight Element
|
public static final SegmentBestFitResponse Create(double[] adblPredictorOrdinate, double[] adblResponseValue, double[] adblWeight)
adblPredictorOrdinate
- Array of Predictor OrdinatesadblResponseValue
- Array of Response ValuesadblWeight
- Array of Weightspublic static final SegmentBestFitResponse Create(double[] adblPredictorOrdinate, double[] adblResponseValue)
adblPredictorOrdinate
- Array of Predictor OrdinatesadblResponseValue
- Array of Response Valuespublic double[] weight()
public double weight(int iIndex) throws java.lang.Exception
iIndex
- The Element Indexjava.lang.Exception
- Thrown if the Index is Invalidpublic double[] predictorOrdinate()
public double predictorOrdinate(int iIndex) throws java.lang.Exception
iIndex
- The Element Indexjava.lang.Exception
- Thrown if the Index is Invalidpublic double[] response()
public double response(int iIndex) throws java.lang.Exception
iIndex
- The Element Indexjava.lang.Exception
- Thrown if the Index is Invalidpublic int numPoint()