<p>I originally built a <a href="https://github.com/keonkim/mlpack/commit/c2f5c5c2e6cbce084992629e192023519873e4cb">class</a> that calculates descriptive statistics. But after a few discussion, I ended up shrinking all of the functions down to minimum to provide maximum performance and maintainability.<br>
I also merged all commits to one to discard unnecessary commits.</p>

<p>Sample output on "iris.csv" would be:</p>

<pre><code>[INFO ] dim     var     mean    std     median  min     max     range   skew    kurt    SE      
[INFO ] 0       0.6857  5.8433  0.8281  5.8000  4.3000  7.9000  3.6000  0.3149  -0.5521 0.0676  
[INFO ] 1       0.1880  3.0540  0.4336  3.0000  2.0000  4.4000  2.4000  0.3341  0.2908  0.0354  
[INFO ] 2       3.1132  3.7587  1.7644  4.3500  1.0000  6.9000  5.9000  -0.2745 -1.4019 0.1441  
[INFO ] 3       0.5824  1.1987  0.7632  1.3000  0.1000  2.5000  2.4000  -0.1050 -1.3398 0.0623  
</code></pre>

<p>Users can control the width and precision using -w and -p flag.<br>
I tested the output using excel and they match perfectly.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/mlpack/mlpack/pull/742'>https://github.com/mlpack/mlpack/pull/742</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>add descriptive statistics executable</li>
  <li>Merge branch &#39;master&#39; of github.com:keonkim/mlpack</li>
  <li>add descriptive statistics cli executable</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/mlpack/mlpack/pull/742/files#diff-0">src/mlpack/methods/preprocess/CMakeLists.txt</a>
    (1)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/mlpack/mlpack/pull/742/files#diff-1">src/mlpack/methods/preprocess/preprocess_describe_main.cpp</a>
    (231)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/mlpack/mlpack/pull/742.patch'>https://github.com/mlpack/mlpack/pull/742.patch</a></li>
  <li><a href='https://github.com/mlpack/mlpack/pull/742.diff'>https://github.com/mlpack/mlpack/pull/742.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<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/742">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJ4bFLsdMu2_7qQPDb85fL5_hDGiGxreks5qZ5GtgaJpZM4JWax8">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFEAXdvBGMkY8DnOm4BwUbLbeO7Qmks5qZ5GtgaJpZM4JWax8.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/742"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>