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

Greg Bowyer updated SOLR-3673:
------------------------------

    Description: 
Hi all

At my $DAYJOB I have been asked to build a few random variate functions that 
return random numbers bound to a distribution.

I think these can be added to solr.

I have a hesitation in that the code as written uses / needs uncommons math 
(because we want a far better RNG than java's and because I am lazy and did not 
want to write distributions)

uncommons math is apache license so we are good on that front

anyone have any thoughts on this ?

For reference the functions are:


rgaussian(mean, stddev) -> Random value aligned to gaussian distribution
rpoisson(mean) -> Random value aligned to poisson distribution
rbinomial(n, prob) -> Random value aligned to binomial distribtion
rcontinous(min ,max) -> random continuous value between min and max
rdiscrete(min, max) -> Random discrete value between min and max
rexponential(rate) -> Random value from the exponential distribution


  was:
Hi all

At my $DAYJOB I have been asked to build a few random variate functions that 
return random numbers bound to a distribution.

I think these can be added to solr.

I have a hesitation in that the code as written uses / needs uncommons math 
(because we want a far better RNG than java's and because I am lazy and did not 
want to write distributions)

uncommons math is apache license so we are good on that front

anyone have any thoughts on this ?

    
> Random variate functions
> ------------------------
>
>                 Key: SOLR-3673
>                 URL: https://issues.apache.org/jira/browse/SOLR-3673
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.0, 5.0
>            Reporter: Greg Bowyer
>            Assignee: Greg Bowyer
>         Attachments: SOLR-3673.patch
>
>
> Hi all
> At my $DAYJOB I have been asked to build a few random variate functions that 
> return random numbers bound to a distribution.
> I think these can be added to solr.
> I have a hesitation in that the code as written uses / needs uncommons math 
> (because we want a far better RNG than java's and because I am lazy and did 
> not want to write distributions)
> uncommons math is apache license so we are good on that front
> anyone have any thoughts on this ?
> For reference the functions are:
> rgaussian(mean, stddev) -> Random value aligned to gaussian distribution
> rpoisson(mean) -> Random value aligned to poisson distribution
> rbinomial(n, prob) -> Random value aligned to binomial distribtion
> rcontinous(min ,max) -> random continuous value between min and max
> rdiscrete(min, max) -> Random discrete value between min and max
> rexponential(rate) -> Random value from the exponential distribution

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to