[mlpack-git] [mlpack/mlpack] Added the discretize function. Design changes as discussed. (#703)
notifications at github.com
Sun Aug 14 12:03:27 EDT 2016
> + * find nC2 differences, for locations in the grid_pos.
> + * @param features n-dimensional points
> + * @param grid_pos locations
> + * @param Output stores differences between features at grid_pos locations
> + */
> + void PDist(const CubeType& features, const arma::uvec& grid_pos,
> + CubeType& Output);
> + /**
> + * Find the index of minimum element in a vector
> + * @param k Vector in which we want to find element
> + * return value index of minimum element
> + */
> + size_t IndexMin(arma::vec& k);
> + size_t Discretize(const MatType& labels, const size_t nClass,
Can you add a comment that describes what this function does.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git