Class GWDRBandwidthOptimizer

Nested Relationships

Nested Types

Class Documentation

class GWDRBandwidthOptimizer

Public Functions

inline explicit GWDRBandwidthOptimizer(const std::vector<BandwidthWeight*> &weights)

Construct a new GWDRBandwidthOptimizer object. Initial values of bandwidths.

const int optimize(GWDR *instance, arma::uword featureCount, std::size_t maxIter, double eps, double step)

Optimize bandwidth for a GWDR model. A GWDR instance Total number of features Maximum of iteration Threshold of convergence Step size Optimizer status.

Public Static Functions

static double criterion_function(const gsl_vector *bws, void *params)

Get criterion value. Bandwidth sizes Additional parameter Criterion value.

static inline std::string infoBandwidthCriterion(const std::vector<BandwidthWeight*> &weights)

Get meta infomation of current bandwidth value and the corresponding criterion value. Bandwidth weight Information string.

static inline std::string infoBandwidthCriterion(const std::vector<BandwidthWeight*> &weights, const double criterion)

Get infomation of current bandwidth value and the corresponding criterion value. Bandwidth weight Criterion value Information string.

struct Parameter

Additional parameters for optimizer.

Public Members

GWDR *instance

A GWDR instance.

std::vector<BandwidthWeight*> *bandwidths

Bandwidths.

arma::uword featureCount

Total number of features.