[mlpack-git] [mlpack/mlpack] Descriptive Statistics command-line program (#742)

Ryan Curtin notifications at github.com
Mon Aug 1 14:13:07 EDT 2016


> +PARAM_INT_IN("precision", "Precision of the output statistics.", "p", 4);
> +PARAM_INT_IN("width", "Width of the output table.", "w", 8);
> +PARAM_FLAG("population", "If specified, the program will calculate statistics "
> +    "assuming the dataset is the population. By default, the program will "
> +    "assume the dataset as a sample.", "P");
> +
> +/**
> +* Calculates the sum of deviations to the Nth Power
> +*
> +* @param input Vector that captures a dimension of a dataset
> +* @param rowMean Mean of the given vector.
> +* @return sum of nth power deviations
> +*/
> +double SumNthPowerDeviations(const arma::rowvec& input,
> +    const double& rowMean,
> +    const size_t Nth) // Degree of Power

For consistency with the style guide, I'd name this parameter `n` (lowercase) instead of `Nth`.

---
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/742/files/27ac82e876c3d68637d9e72d28bf0dadbc229ace#r73025220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack-git/attachments/20160801/95c5cc4c/attachment.html>


More information about the mlpack-git mailing list