[mlpack-git] [mlpack/mlpack] edge_boxes: feature extraction updated, tests added (#696)

Marcus Edel notifications at github.com
Tue Jun 14 17:42:14 EDT 2016


> +#define MLPACK_METHODS_EDGE_BOXES_STRUCTURED_TREE_HPP
> +//#define INF 999999.9999
> +//#define EPS 1E-20
> +#include <mlpack/core.hpp>
> +
> +namespace mlpack {
> +namespace structured_tree {
> +
> +template <typename MatType = arma::mat, typename CubeType = arma::cube>
> +class StructuredForests
> +{
> +
> + public:
> +
> +  static constexpr double eps = 1e-20;
> +

We don't use that particular parameter, also making it public isn't a good idea at all. We could just define it inside the function.

---
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/696/files/b38b688edfc4c2ee8bf461240f8384a70575d3a4#r67062930
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160614/b5f1ec84/attachment.html>


More information about the mlpack-git mailing list