[mlpack-git] [mlpack/mlpack] Added the discretize function. Design changes as discussed. (#703)

Marcus Edel notifications at github.com
Sun Aug 14 12:02:52 EDT 2016


> +   * convert (16, 16, 13 * 1000) features to (256, 1000, 13).
> +   * @param channels input features
> +   * @param ch output features just rearranged 
> +   */
> +  void Rearrange(const CubeType& channels, CubeType& ch);
> +
> +  /**
> +   * Compute the pairwise differences between n-dimensional points in a way
> +   * specified in the paper "Structured Forests for Fast Edge Detection".
> +   * Note: Indeed this is not a valid distance measurement (asymmetry).
> +   * 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,

Please do not use an underscore for parameter names.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/mlpack/mlpack/pull/703/files/72eb1ef22c7db1ea33af3de1cd043cdb277ec562#r74704338
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160814/001c04fc/attachment.html>


More information about the mlpack-git mailing list