You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gilles (JIRA)" <ji...@apache.org> on 2011/01/28 00:57:56 UTC

[jira] Created: (MATH-503) Common mathematical functions

Common mathematical functions
-----------------------------

                 Key: MATH-503
                 URL: https://issues.apache.org/jira/browse/MATH-503
             Project: Commons Math
          Issue Type: Wish
            Reporter: Gilles
            Assignee: Gilles
            Priority: Minor
             Fix For: 3.0


I propose to add some functions in the package {{analysis.function}}:

* [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
* [Step|http://en.wikipedia.org/wiki/Step_function]
* [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]

Other suggestions?


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


[jira] Commented: (MATH-503) Common mathematical functions

Posted by "Luc Maisonobe (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998752#comment-12998752 ] 

Luc Maisonobe commented on MATH-503:
------------------------------------

Seems a good idea to me.
Not sure about the name, perhaps something along the line of ScaledLogit ?

> Common mathematical functions
> -----------------------------
>
>                 Key: MATH-503
>                 URL: https://issues.apache.org/jira/browse/MATH-503
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> I propose to add some functions in the package {{analysis.function}}:
> * [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
> * [Step|http://en.wikipedia.org/wiki/Step_function]
> * [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]
> Other suggestions?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MATH-503) Common mathematical functions

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998586#comment-12998586 ] 

Gilles commented on MATH-503:
-----------------------------

{quote}
Other suggestions?
{quote}

Yes. ;-)
I'd like to implement the logit function:
{noformat}
 log((x - a) / (b - x))
{noformat}
This is more general than [Logit|http://en.wikipedia.org/wiki/Logit].  Can I still name the class "Logit"? Would another name be more appropriate?
The intention is that this function, together with a similar generalization of the "Sigmoid" class, can be used to transform an interval [a, b] to (-inf, +inf). This is just what is needed to simulate simple constraints for use with the CM optimizers.


> Common mathematical functions
> -----------------------------
>
>                 Key: MATH-503
>                 URL: https://issues.apache.org/jira/browse/MATH-503
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> I propose to add some functions in the package {{analysis.function}}:
> * [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
> * [Step|http://en.wikipedia.org/wiki/Step_function]
> * [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]
> Other suggestions?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MATH-503) Common mathematical functions

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991339#comment-12991339 ] 

Gilles commented on MATH-503:
-----------------------------

Gaussian function added in revision 1067917.


> Common mathematical functions
> -----------------------------
>
>                 Key: MATH-503
>                 URL: https://issues.apache.org/jira/browse/MATH-503
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> I propose to add some functions in the package {{analysis.function}}:
> * [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
> * [Step|http://en.wikipedia.org/wiki/Step_function]
> * [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]
> Other suggestions?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MATH-503) Common mathematical functions

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12989170#comment-12989170 ] 

Gilles commented on MATH-503:
-----------------------------

Step function added in revision 1066018.


> Common mathematical functions
> -----------------------------
>
>                 Key: MATH-503
>                 URL: https://issues.apache.org/jira/browse/MATH-503
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> I propose to add some functions in the package {{analysis.function}}:
> * [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
> * [Step|http://en.wikipedia.org/wiki/Step_function]
> * [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]
> Other suggestions?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (MATH-503) Common mathematical functions

Posted by "Gilles (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MATH-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gilles resolved MATH-503.
-------------------------

    Resolution: Fixed

> Common mathematical functions
> -----------------------------
>
>                 Key: MATH-503
>                 URL: https://issues.apache.org/jira/browse/MATH-503
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> I propose to add some functions in the package {{analysis.function}}:
> * [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
> * [Step|http://en.wikipedia.org/wiki/Step_function]
> * [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]
> Other suggestions?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (MATH-503) Common mathematical functions

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12999855#comment-12999855 ] 

Gilles commented on MATH-503:
-----------------------------

Class "Logit" implemented in revision 1074954.

> Common mathematical functions
> -----------------------------
>
>                 Key: MATH-503
>                 URL: https://issues.apache.org/jira/browse/MATH-503
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> I propose to add some functions in the package {{analysis.function}}:
> * [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
> * [Step|http://en.wikipedia.org/wiki/Step_function]
> * [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]
> Other suggestions?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MATH-503) Common mathematical functions

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12998895#comment-12998895 ] 

Gilles commented on MATH-503:
-----------------------------

I'd favour the name "Logit" and make the default constructor create the usual logit function, i.e. with a = 0 and b = 1. IMO, something like 
{noformat}
  ScaledLogit logit = new ScaledLogit();
  ScaledLogit scaledLogit = new ScaledLogit(a, b);
{noformat}
seems less clear than
{noformat}
  Logit logit = new Logit();
  Logit scaledLogit = new Logit(a, b);
{noformat}


> Common mathematical functions
> -----------------------------
>
>                 Key: MATH-503
>                 URL: https://issues.apache.org/jira/browse/MATH-503
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> I propose to add some functions in the package {{analysis.function}}:
> * [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
> * [Step|http://en.wikipedia.org/wiki/Step_function]
> * [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]
> Other suggestions?

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (MATH-503) Common mathematical functions

Posted by "Gilles (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MATH-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988522#action_12988522 ] 

Gilles commented on MATH-503:
-----------------------------

Generalized logistic and sigmoid functions added in revision 1065146.

> Common mathematical functions
> -----------------------------
>
>                 Key: MATH-503
>                 URL: https://issues.apache.org/jira/browse/MATH-503
>             Project: Commons Math
>          Issue Type: Wish
>            Reporter: Gilles
>            Assignee: Gilles
>            Priority: Minor
>             Fix For: 3.0
>
>
> I propose to add some functions in the package {{analysis.function}}:
> * [Generalized logistic|http://en.wikipedia.org/wiki/Generalised_logistic_function]
> * [Step|http://en.wikipedia.org/wiki/Step_function]
> * [Gaussian|http://en.wikipedia.org/wiki/Gaussian_function]
> Other suggestions?

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