Go to the source code of this file.
Functions | |
void | ClearKMeansLogging () |
void | AddKMeansLogging (std::ostream *out, bool verbose) |
Scalar | RunKMeans (int n, int k, int d, Scalar *points, int attempts, Scalar *centers, int *assignments) |
Scalar | RunKMeansPlusPlus (int n, int k, int d, Scalar *points, int attempts, Scalar *centers, int *assignments) |
void AddKMeansLogging | ( | std::ostream * | out, |
bool | verbose | ||
) |
Definition at line 34 of file kmeans++/KMeans.cpp.
References gLogOutputs, and gVerboseLogOutputs.
void ClearKMeansLogging | ( | ) |
Definition at line 39 of file kmeans++/KMeans.cpp.
References gLogOutputs, and gVerboseLogOutputs.
Scalar RunKMeans | ( | int | n, |
int | k, | ||
int | d, | ||
Scalar * | points, | ||
int | attempts, | ||
Scalar * | centers, | ||
int * | assignments | ||
) |
Definition at line 103 of file kmeans++/KMeans.cpp.
References GetRandom(), GetSeconds(), KM_ASSERT, LOG, LogMetaStats(), mrpt::system::os::memcpy(), and RunKMeansOnce().
Referenced by mrpt::math::detail::internal_kmeans< double >(), and mrpt::math::detail::internal_kmeans< float >().
Scalar RunKMeansPlusPlus | ( | int | n, |
int | k, | ||
int | d, | ||
Scalar * | points, | ||
int | attempts, | ||
Scalar * | centers, | ||
int * | assignments | ||
) |
Definition at line 152 of file kmeans++/KMeans.cpp.
References GetSeconds(), KM_ASSERT, LOG, LogMetaStats(), RunKMeansOnce(), and KmTree::SeedKMeansPlusPlus().
Page generated by Doxygen 1.8.14 for MRPT 1.5.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |