[mlpack-git] [mlpack/mlpack] Added the discretize function. Design changes as discussed. (#703)
Tham
notifications at github.com
Fri Jun 24 12:20:01 EDT 2016
> +#ifndef MLPACK_METHODS_EDGE_BOXES_STRUCTURED_TREE_ImPL_HPP
> +#define MLPACK_METHODS_EDGE_BOXES_STRUCTURED_TREE_ImPL_HPP
> +
> +
> +#include "feature_extraction.hpp"
> +#include <mlpack/methods/pca/pca.hpp>
> +namespace mlpack {
> +namespace structured_tree {
> +
> +/**
> + * Constructor: stores all the parameters in an object
> + * of feature_parameters class.
> + */
> +template<typename MatType, typename CubeType>
> +StructuredForests<MatType, CubeType>::
> +StructuredForests(FeatureParameters F)
Although this is not std::map, but using initialization list to initialize still a good practice
This is initialize
`StructuredForests(FeatureParameters F) : params(F) {}`
This is assignment
```
{
params = F;
}
```
---
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/0abec2cbb44a0556b129485b485bae8d07986af7#r68422887
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160624/beac307d/attachment.html>
More information about the mlpack-git
mailing list