[mlpack-git] [mlpack/mlpack] Descriptive Statistics command-line program (#742)
notifications at github.com
Sat Aug 6 00:59:56 EDT 2016
> + double rowMean = arma::mean(row);
> + double rowStd = arma::stddev(row, population);
> + // Print statistics of the given dimension.
> + Log::Info << boost::format(numberFormat)
> + % dimension
> + % arma::var(row, population)
> + % rowMean
> + % rowStd
> + % arma::median(row)
> + % rowMin
> + % rowMax
> + % (rowMax - rowMin) // range
> + % Skewness(row, rowStd, rowMean, population)
> + % Kurtosis(row, rowStd, rowMean, population)
> + % StandardError(row, rowStd) << endl;
No problem, I think your solution is perfectly reasonable. Would you like to open a ticket about the `Log::Info` and `std::setw` incompatibility? We don't need to solve it now (or soon), but it would maybe be a good task for someone who is looking for ways to contribute, since it's a pretty self-contained and easy-to-replicate problem. :)
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mlpack-git