26 std::vector<Double_t>
fXC;
29 std::vector<Double_t>
fA_K;
34 std::vector<Double_t>
fC_K;
38 mutable std::vector<Double_t>
fDx;
39 mutable std::vector<Double_t>
fProds;
63 void Predict(
const std::vector<Double_t> &targets, std::vector<Double_t> &densities,
68 void Kcenter(
const std::vector<double> &
x);
std::vector< UInt_t > fHeads
void Compute_C_k()
Coefficients C_K.
std::vector< UInt_t > fIndxc
virtual ~TKDEFGT()
Destructor.
void Predict(const std::vector< Double_t > &targets, std::vector< Double_t > &densities, Double_t e) const
Calculate densities.
std::vector< UInt_t > fCinds
std::vector< UInt_t > fXhead
std::vector< Double_t > fC_K
std::vector< Double_t > fDistC
void Kcenter(const std::vector< double > &x)
Solve kcenter task.
std::vector< Double_t > fXC
std::vector< Double_t > fProds
std::vector< UInt_t > fIndx
std::vector< Double_t > fDx
void Compute_A_k(const std::vector< Double_t > &x)
Coefficients A_K.
std::vector< UInt_t > fXboxsz
TKDEFGT(const TKDEFGT &rhs)
std::vector< Double_t > fA_K
TKDEFGT & operator=(const TKDEFGT &rhs)
std::vector< Double_t > fWeights
void BuildModel(const std::vector< Double_t > &sources, Double_t sigma=1., UInt_t dim=3, UInt_t p=8, UInt_t k=0)
Calculate coefficients for FGT.