#include <shark/Core/DLLSupport.h>
#include <shark/Data/Dataset.h>
#include <shark/Models/Clustering/Centroids.h>
#include <shark/Models/RBFLayer.h>
#include <shark/Models/Kernels/KernelExpansion.h>
#include <shark/Models/Kernels/KernelHelpers.h>
Go to the source code of this file.
Namespaces | |
shark | |
AbstractMultiObjectiveOptimizer. | |
Functions | |
SHARK_EXPORT_SYMBOL std::size_t | shark::kMeans (Data< RealVector > const &data, std::size_t k, Centroids ¢roids, std::size_t maxIterations=0) |
The k-means clustering algorithm. More... | |
SHARK_EXPORT_SYMBOL std::size_t | shark::kMeans (Data< RealVector > const &data, RBFLayer &model, std::size_t maxIterations=0) |
The k-means clustering algorithm for initializing an RBF Layer. More... | |
template<class InputType > | |
KernelExpansion< InputType > | shark::kMeans (Data< InputType > const &dataset, std::size_t k, AbstractKernelFunction< InputType > &kernel, std::size_t maxIterations=0) |