|
| PLreg (int order, int dim) |
| Constructors:
|
|
| PLreg (Array2D< int > &mindex) |
|
| ~PLreg () |
| Destructor.
|
|
void | EvalBases (Array2D< double > &xx, Array2D< double > &bb) |
| Evaluate the bases.
|
|
void | StripBases (Array1D< int > &used) |
| Strip the bases.
|
|
void | SetMindex (Array2D< int > &mindex) |
| Set multiindex.
|
|
void | GetMindex (Array2D< int > &mindex) |
| Get multiindex.
|
|
| Lreg () |
| Constructor.
|
|
| ~Lreg () |
| Destrcutor.
|
|
virtual void | SetCenters (Array2D< double > ¢ers) |
| Set centers (for RBF)
|
|
virtual void | SetWidths (Array1D< double > &widths) |
| Set widths (for RBF)
|
|
virtual void | SetParamsRBF () |
| Set parameters (for RBF)
|
|
void | InitRegr () |
| Initialize.
|
|
void | SetupData (Array2D< double > &xdata, Array1D< double > &ydata) |
| Setup data (1d ydata)
|
|
void | SetupData (Array2D< double > &xdata, Array2D< double > &ydata) |
| Setup data (2d ydata)
|
|
void | SetRegMode (string regmode) |
| Set the regression mode.
|
|
void | SetRegWeights (Array1D< double > &weights) |
| Set weights.
|
|
void | BCS_BuildRegr (Array1D< int > &selected, double eta) |
| Build BCS regression.
|
|
void | LSQ_BuildRegr () |
| Build LSQ regression.
|
|
void | EvalRegr (Array2D< double > &xcheck, Array1D< double > &ycheck, Array1D< double > &yvar, Array2D< double > &ycov) |
| Evaluate the regression expansion.
|
|
int | GetNpt () const |
| Get the number of points.
|
|
int | GetNdim () const |
| Get dimensionality.
|
|
int | GetNbas () const |
| Get the number of bases.
|
|
double | GetSigma2 () const |
| Get the variance of the data.
|
|
void | GetCoefCov (Array2D< double > &coef_cov) |
| Get coefficient covariance.
|
|
void | GetCoef (Array1D< double > &coef) |
| Get coefficients.
|
|
void | Proj (Array1D< double > &array, Array1D< double > &proj_array) |
| Project.
|
|
Array1D< double > | LSQ_computeBestLambdas () |
| Compute the best values for regulariation parameter vector lambda, for LSQ.
|
|
double | LSQ_computeBestLambda () |
| Compute the best value for regulariation parameter lambda, for LSQ.
|
|
void | getResid () |
| Compute the residual vector, if not already computed.
|
|
void | getDiagP () |
| Compute the diagonal of projection matrix, if not already computed.
|
|
Array1D< double > | computeErrorMetrics (string method) |
| Compote error according to a selected metrics.
|
|
double | computeRVE (Array2D< double > &xval, Array1D< double > &yval, Array1D< double > &yval_regr) |
| Compute validation error.
|
|
Derived class for polynomial regression.