nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
#include <memory_resource>
#include <nk/value/value.hpp>
#include <string>
#include <tuple>

Go to the source code of this file.

Functions

std::tuple< Value, Value, Value > nk::stats::kmedoids (::nk::ops::RngContext &rng, const Value &X, int K, int max_iter, int replicates, const std::string &metric, std::pmr::memory_resource *mr=nullptr)
 PAM-style k-medoids clustering ([idx, medoids, sumd] = kmedoids(...)).
std::tuple< Value, Value > nk::stats::dbscan (const Value &X, double eps, int minpts, const std::string &metric, std::pmr::memory_resource *mr=nullptr)
 DBSCAN density-based clustering ([idx, corepts] = dbscan(X, eps, minpts, metric)).
std::tuple< Value, Value > nk::stats::dbscan (const Value &X, double eps, int minpts, const std::string &metric, double p, std::pmr::memory_resource *mr=nullptr)
 DBSCAN with explicit Minkowski exponent p (for metric = "minkowski").