public interface LinearRegressionModel extends RegressionModel, ApproximationModel
| Modifier and Type | Field and Description |
|---|---|
static int |
buildEverything
construct all model components (fields)
|
static int |
buildNothing
don't construct any complex fields (they'll be constructed in subclass)
|
static int |
buildSweepStats
construct only sweep matrix and model stats
|
static int |
modelFull
full model (intercept, active and obligatory variables)
|
static int |
modelIntcp
model containing only intercept
|
static int |
modelOblig
model containing intercept and obligatory variables
|
PROP_INDEX_BUILD_DATA_ID, PROP_INDEX_BUILD_VALID_ID, PROP_INDEX_MODEL_STATS_CLASS, SIGNATURE| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList |
getModelStatName()
Gets the list of model statistic names.
|
double |
getModelStatValue(int i)
Gets the value of a given model statistic.
|
double |
getPredictedTargetValue(double[] x)
Gets model-predicted target value for a given observation x.
|
double[] |
getSignatureBeta()
Returns estimated parameters of the current model.
|
LinearRegressionModelStatistics |
getStat()
Returns the model statistics.
|
SweepMatrix |
getSweepMatrix()
Gets underlying SWEEP matrix for the current regression model
|
boolean[] |
getVar()
Returns the array of boolean flags indicating variables included in the model.
|
java.lang.String |
getVarName(int i)
Gets the name of a given variable statistic.
|
double[][] |
getVarStat()
Gets the values of model variable statistics.
|
java.util.ArrayList |
getVarStatName()
Gets the list of variable statistic names.
|
int |
intcp()
Returns the number of model intercepts.
|
int |
n()
Returns the number of observations used.
|
int |
p()
Returns the number of model parameters.
|
int |
ptotal()
Returns the total number of available parameters (full model case).
|
boolean |
validateModelParameters()
Peforms basic validation of the model parameters: checks whether they are finite real numbers and not all zeroes.
|
getCoefficient, getCoefficients, getCorrelation, getCovariance, getImportanceStatisticsPValue, getSignatureNames, getVarNo, isActivegetBuildDataIdentifier, getExternalSignature, getFunctionSettings, getInternalFunctionSettings, getInternalSignature, getLearningHistory, getModelStatistics, getSignature, getTransformation, getValidationDataIdentifier, setTransformationisLiberalExecutiongetDescription, getName, getObjectIdentifier, getProperties, isEditable, setDescription, setEditable, setName, setObjectIdentifierverifygetGroupUsage, getInternalFunctionSettings, getUniqueName, getUsage, getVarGroupNamestatic final int buildEverything
static final int buildSweepStats
static final int buildNothing
static final int modelIntcp
static final int modelOblig
static final int modelFull
double[] getSignatureBeta()
boolean[] getVar()
LinearRegressionModelStatistics getStat()
int n()
n in interface InputDataInfoint p()
p in interface StatisticalModelint ptotal()
ptotal in interface InputDataInfoint intcp()
intcp in interface InputDataInfodouble getPredictedTargetValue(double[] x)
x - vector to be scored.boolean validateModelParameters()
double getModelStatValue(int i)
i - identifier of model statistic.java.util.ArrayList getVarStatName()
java.util.ArrayList getModelStatName()
double[][] getVarStat()
java.lang.String getVarName(int i)
getVarName in interface InputDataInfoi - identifier of the statistic.SweepMatrix getSweepMatrix()