<p>In <a href="https://github.com/mlpack/mlpack/pull/703#discussion_r68396702">src/mlpack/methods/edge_boxes/edge_boxes_main.cpp</a>:</p>
<pre style='color:#555'>> + fraction: fraction of features to use to train each tree
> + n_tree: number of trees in forest to train
> + n_class: number of classes (clusters) for binary splits
> + min_count: minimum number of data points to allow split
> + min_child: minimum number of data points allowed at child nodes
> + max_depth: maximum depth of tree
> + split: options include 'gini', 'entropy' and 'twoing'
> + discretize: optional function mapping structured to class labels
> +
> + stride: stride at which to compute edges
> + sharpen: sharpening amount (can only decrease after training)
> + n_tree_eval: number of trees to evaluate per location
> + nms: if true apply non-maximum suppression to edges
> + */
> +
> + FeatureParameters params = FeatureParameters();
</pre>
<p>Thanks for the update <g-emoji alias="+1" fallback-src="https://assets-cdn.github.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji> <br>
In c++, when you declare an object, it will call the default constructor, so you can just write(Maybe you already know this)</p>
<p><code>FeatureParameters params;</code></p>
<p>In theory, initialize the object by using constructor is better than using copy assignment, but compiler should be able to optimize it, so it is just a preference of taste now.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/mlpack/mlpack/pull/703/files/0abec2cbb44a0556b129485b485bae8d07986af7#r68396702">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe/AJ4bFEKunUgjC-OcBs6lQJKNK4dXrdRsks5qO9owgaJpZM4I5X__">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFMNoke6aRSdRYm6oZInS3GXPoG4Yks5qO9owgaJpZM4I5X__.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/mlpack/mlpack/pull/703/files/0abec2cbb44a0556b129485b485bae8d07986af7#r68396702"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>