Loading [MathJax]/extensions/tex2jax.js
1.7.0
Geostatistics & Machine Learning toolbox | https://gstlearn.org
 
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Ball.hpp File Reference
#include "gstlearn_export.hpp"
#include "Tree/ball_algorithm.h"
#include "Matrix/MatrixT.hpp"

Classes

class  Ball
 

Functions

GSTLEARN_EXPORT MatrixT< int > findNN (Db *dbin, Db *dbout=nullptr, int nb_neigh=3, bool flagShuffle=false, bool verbose=false, double(*dist_function)(const double *x1, const double *x2, int n_features)=nullptr, int leaf_size=10, int default_distance_function=1)
 

Function Documentation

◆ findNN()

GSTLEARN_EXPORT MatrixT< int > findNN ( Db dbin,
Db dbout = nullptr,
int  nb_neigh = 3,
bool  flagShuffle = false,
bool  verbose = false,
double(*)(const double *x1, const double *x2, int n_features)  dist_function = nullptr,
int  leaf_size = 10,
int  default_distance_function = 1 
)