RandomPointSelection Class Reference

This class can be used to randomly select the next point to use for DBSCAN. More...

Public Member Functions

template
<
typename
MatType
>
size_t Select (const size_t, const MatType &data)
 Select the next point to use, randomly. More...

 

Detailed Description

This class can be used to randomly select the next point to use for DBSCAN.

Definition at line 23 of file random_point_selection.hpp.

Member Function Documentation

◆ Select()

size_t Select ( const size_t  ,
const MatType &  data 
)
inline

Select the next point to use, randomly.

Parameters
*(point) Unused data.
dataDataset to cluster.

Definition at line 33 of file random_point_selection.hpp.

References mlpack::math::RandInt().


The documentation for this class was generated from the following file: