commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik van Ingen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (MATH-426) Normalization (Standardization)
Date Tue, 05 Oct 2010 09:01:38 GMT

     [ https://issues.apache.org/jira/browse/MATH-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Erik van Ingen updated MATH-426:
--------------------------------

    Attachment: StatUtilsTestDiff.java
                StatUtilsDiff.java

This patch adds the normalize method to the StatsUtil class and has this signature:
    public static double[] normalize(final double[] sample) 

The patch includes the implementation and test, added in SVN diff format. 

> Normalization (Standardization)
> -------------------------------
>
>                 Key: MATH-426
>                 URL: https://issues.apache.org/jira/browse/MATH-426
>             Project: Commons Math
>          Issue Type: New Feature
>    Affects Versions: Nightly Builds
>         Environment: Java
>            Reporter: Erik van Ingen
>             Fix For: Nightly Builds
>
>         Attachments: StatUtilsDiff.java, StatUtilsTestDiff.java
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Commons Math is missing a function to normalize a sample of values to sample with a mean
of 0 and a standard variation of 0. 
> This Issue is related to this email thread:
> http://www.mail-archive.com/user@commons.apache.org/msg05396.html
> I am preparing a patch which contains an implementation plus test. The method normalize
is added to the StatsUtil class. I will try to add this patch to this issue. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message