Algorithm::KernelKMeans::Util
This module provides some utility functions suitable to use with Algorithm::KernelKMeans.
Algorithm::KernelKMeans
This module exports nothing by default. You can import functions below:
import
Takes array ref of vertices and returns centroid vector of the cluster.
Generates a polynominal kernel function and returns it.
The generated kernel function will be formed K(x1, x2) = ($l + x1 . x2)^$p ("x1 . x2" means inner product).
Koichi SATOH <r.sekia@gmail.com>
To install Algorithm::KernelKMeans, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Algorithm::KernelKMeans
CPAN shell
perl -MCPAN -e shell install Algorithm::KernelKMeans
For more information on module installation, please visit the detailed CPAN module installation guide.