Statistic tools in Pharo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

Statistic tools in Pharo

Alexandre Bergel
Hi!

Is there a statistic library in Pharo?
Computing the correlation, linear regression, ...

Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

SergeStinckwich
On Wed, Sep 29, 2010 at 1:07 AM, Alexandre Bergel <[hidden email]> wrote:
> Hi!
>
> Is there a statistic library in Pharo?
> Computing the correlation, linear regression, ...
>

Not really but there is some work on Random numbers generator :
http://www.squeaksource.com/Random.html
I'm also interested by some probabilistic library.

--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Jimmie Houchin-5
In reply to this post by Alexandre Bergel
  On 9/28/2010 1:07 PM, Alexandre Bergel wrote:
> Hi!
>
> Is there a statistic library in Pharo?
> Computing the correlation, linear regression, ...
>
> Cheers,
> Alexandre
In a conversation with Stef earlier, he pointed me toward
http://www.squeaksource.com/DHBNumerical.html

I haven't explored it yet, so am not familiar with its methods.

Maybe it can meet some of your needs.

Jimmie

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

SergeStinckwich
On Wed, Sep 29, 2010 at 8:42 AM, Jimmie Houchin <[hidden email]> wrote:

>  On 9/28/2010 1:07 PM, Alexandre Bergel wrote:
>>
>> Hi!
>>
>> Is there a statistic library in Pharo?
>> Computing the correlation, linear regression, ...
>>
>> Cheers,
>> Alexandre
>
> In a conversation with Stef earlier, he pointed me toward
> http://www.squeaksource.com/DHBNumerical.html
>
> I haven't explored it yet, so am not familiar with its methods.
>
> Maybe it can meet some of your needs.

Yes, interesting, but what is the licence ?


--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Jimmie Houchin-5
  On 9/28/2010 8:52 PM, Serge Stinckwich wrote:

> On Wed, Sep 29, 2010 at 8:42 AM, Jimmie Houchin<[hidden email]>  wrote:
>>   On 9/28/2010 1:07 PM, Alexandre Bergel wrote:
>>> Hi!
>>>
>>> Is there a statistic library in Pharo?
>>> Computing the correlation, linear regression, ...
>>>
>>> Cheers,
>>> Alexandre
>> In a conversation with Stef earlier, he pointed me toward
>> http://www.squeaksource.com/DHBNumerical.html
>>
>> I haven't explored it yet, so am not familiar with its methods.
>>
>> Maybe it can meet some of your needs.
> Yes, interesting, but what is the licence
I didn't even look initially. Since it was on SqueakSource I just kind
of assumed it was Squeak friendly. Unfortunately it is not.

From  http://sourceforge.net/projects/dhbnumerics/#more
the license is LGPL.

Project admins are:
http://sourceforge.net/project/memberlist.php?group_id=53783
Adriaan van Os, Donald MacQueen, Joseph Whitesell, Roger Whitney, Sean
Glazier

Does anybody here have sufficient access to any of these people or DHB
himself to request a Squeak/Pharo friendly license.

Thanks.

Jimmie

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Alberto Bacchelli
In reply to this post by Alexandre Bergel
Hi Alexandre,

 My question about a connection between Pharo and Python [1] is
related to the issue you are reporting.
In Python, they have numpy [2], which offers almost anything one would
need for statistics, algebra, ...
Instead of re-implementing everything in Pharo (aka re-inventing the wheel),
imho, it would be much better to be able to exploit the good work
already done by these smart people.

My interest to Alien FFI is also related: Instead of using numpy, one
could use the external interface offered by MATLAB [3] (in the form of
C APIs) to let it do the number crunching. Even though the MATLAB
external interface is very simple and clean, I have not being able to
use it from Pharo, yet, because I cannot make Alien work under Linux
(where my MATLAB resides). I have also tried nativeboost, but I am
still not able to create the VM with the necessary plugin to make it
work.
It is very frustrating: Even if I am working with Fernando (who knows
Alien very good), in three days we have not reach any target.

It would be awesome if someone else wanted to give me a hand with this task:
I believe It would be of interest for many of us.

Cheers,
 Alberto


[1] http://markmail.org/message/bvk2gkue6kd4vqzo
[2] http://numpy.org/
[3] http://maxwell.me.gu.edu.au/spl/matlab-page/apiext.pdf

On 28 September 2010 20:10, Alexandre Bergel <[hidden email]> wrote:

> Hi!
>
> Is there a statistic library in Pharo?
> Computing the correlation, linear regression, ...
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Stéphane Ducasse
In reply to this post by Alexandre Bergel
Alberto

please use thread!!!!!!

Stef

On Sep 29, 2010, at 9:38 AM, Alberto Bacchelli wrote:

> Hi Alexandre,
>
> My question about a connection between Pharo and Python [1] is
> related to the issue you are reporting.
> In Python, they have numpy [2], which offers almost anything one would
> need for statistics, algebra, ...
> Instead of re-implementing everything in Pharo (aka re-inventing the wheel),
> imho, it would be much better to be able to exploit the good work
> already done by these smart people.
>
> My interest to Alien FFI is also related: Instead of using numpy, one
> could use the external interface offered by MATLAB [3] (in the form of
> C APIs) to let it do the number crunching. Even though the MATLAB
> external interface is very simple and clean, I have not being able to
> use it from Pharo, yet, because I cannot make Alien work under Linux
> (where my MATLAB resides). I have also tried nativeboost, but I am
> still not able to create the VM with the necessary plugin to make it
> work.
> It is very frustrating: Even if I am working with Fernando (who knows
> Alien very good), in three days we have not reach any target.
>
> It would be awesome if someone else wanted to give me a hand with this task:
> I believe It would be of interest for many of us.
>
> Cheers,
> Alberto
>
>
> [1] http://markmail.org/message/bvk2gkue6kd4vqzo
> [2] http://numpy.org/
> [3] http://maxwell.me.gu.edu.au/spl/matlab-page/apiext.pdf
>
> On 28 September 2010 20:10, Alexandre Bergel <[hidden email]> wrote:
>> Hi!
>>
>> Is there a statistic library in Pharo?
>> Computing the correlation, linear regression, ...
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Stéphane Ducasse
In reply to this post by SergeStinckwich
I will contact didier.


On Sep 29, 2010, at 4:31 AM, Jimmie Houchin wrote:

> On 9/28/2010 8:52 PM, Serge Stinckwich wrote:
>> On Wed, Sep 29, 2010 at 8:42 AM, Jimmie Houchin<[hidden email]>  wrote:
>>>  On 9/28/2010 1:07 PM, Alexandre Bergel wrote:
>>>> Hi!
>>>>
>>>> Is there a statistic library in Pharo?
>>>> Computing the correlation, linear regression, ...
>>>>
>>>> Cheers,
>>>> Alexandre
>>> In a conversation with Stef earlier, he pointed me toward
>>> http://www.squeaksource.com/DHBNumerical.html
>>>
>>> I haven't explored it yet, so am not familiar with its methods.
>>>
>>> Maybe it can meet some of your needs.
>> Yes, interesting, but what is the licence
> I didn't even look initially. Since it was on SqueakSource I just kind of assumed it was Squeak friendly. Unfortunately it is not.
>
> From  http://sourceforge.net/projects/dhbnumerics/#more
> the license is LGPL.
>
> Project admins are:
> http://sourceforge.net/project/memberlist.php?group_id=53783
> Adriaan van Os, Donald MacQueen, Joseph Whitesell, Roger Whitney, Sean Glazier
>
> Does anybody here have sufficient access to any of these people or DHB himself to request a Squeak/Pharo friendly license.
>
> Thanks.
>
> Jimmie
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Alexandre Bergel
In reply to this post by Jimmie Houchin-5
Thanks Jimmie.
About half of the tests are red. This library is about linear Algebra. Not really about statistics.
But thanks for the link!

Alexandre


On 28 Sep 2010, at 21:42, Jimmie Houchin wrote:

> On 9/28/2010 1:07 PM, Alexandre Bergel wrote:
>> Hi!
>>
>> Is there a statistic library in Pharo?
>> Computing the correlation, linear regression, ...
>>
>> Cheers,
>> Alexandre
> In a conversation with Stef earlier, he pointed me toward
> http://www.squeaksource.com/DHBNumerical.html
>
> I haven't explored it yet, so am not familiar with its methods.
>
> Maybe it can meet some of your needs.
>
> Jimmie
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Alexandre Bergel
In reply to this post by Alberto Bacchelli
Hi Alberto,

I first need to evaluate my need. There is a number of statistical tools that I need, which at the end may be quicker to directly implement them than relying on an external library (which also comes with its own bag of issues by the way).

Cheers,
Alexandre


On 29 Sep 2010, at 03:38, Alberto Bacchelli wrote:

> Hi Alexandre,
>
> My question about a connection between Pharo and Python [1] is
> related to the issue you are reporting.
> In Python, they have numpy [2], which offers almost anything one would
> need for statistics, algebra, ...
> Instead of re-implementing everything in Pharo (aka re-inventing the wheel),
> imho, it would be much better to be able to exploit the good work
> already done by these smart people.
>
> My interest to Alien FFI is also related: Instead of using numpy, one
> could use the external interface offered by MATLAB [3] (in the form of
> C APIs) to let it do the number crunching. Even though the MATLAB
> external interface is very simple and clean, I have not being able to
> use it from Pharo, yet, because I cannot make Alien work under Linux
> (where my MATLAB resides). I have also tried nativeboost, but I am
> still not able to create the VM with the necessary plugin to make it
> work.
> It is very frustrating: Even if I am working with Fernando (who knows
> Alien very good), in three days we have not reach any target.
>
> It would be awesome if someone else wanted to give me a hand with this task:
> I believe It would be of interest for many of us.
>
> Cheers,
> Alberto
>
>
> [1] http://markmail.org/message/bvk2gkue6kd4vqzo
> [2] http://numpy.org/
> [3] http://maxwell.me.gu.edu.au/spl/matlab-page/apiext.pdf
>
> On 28 September 2010 20:10, Alexandre Bergel <[hidden email]> wrote:
>> Hi!
>>
>> Is there a statistic library in Pharo?
>> Computing the correlation, linear regression, ...
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Nicolas Cellier
In reply to this post by Alberto Bacchelli
+ octave scilab R_lab etc...

If you want to give a try on reinventing the wheel, I have a
functional interface to Linear Algebra BLAS/LAPACK in VW and Dolphin.
Unfortunately, this so called Smallapack interface is not functionnal
in Squeak (vm lock & crash expected). Maybe it's worth improving, tell
me if interested. This does not handle statistics nor PRNG though...

Nicolas

2010/9/29 Alberto Bacchelli <[hidden email]>:

> Hi Alexandre,
>
>  My question about a connection between Pharo and Python [1] is
> related to the issue you are reporting.
> In Python, they have numpy [2], which offers almost anything one would
> need for statistics, algebra, ...
> Instead of re-implementing everything in Pharo (aka re-inventing the wheel),
> imho, it would be much better to be able to exploit the good work
> already done by these smart people.
>
> My interest to Alien FFI is also related: Instead of using numpy, one
> could use the external interface offered by MATLAB [3] (in the form of
> C APIs) to let it do the number crunching. Even though the MATLAB
> external interface is very simple and clean, I have not being able to
> use it from Pharo, yet, because I cannot make Alien work under Linux
> (where my MATLAB resides). I have also tried nativeboost, but I am
> still not able to create the VM with the necessary plugin to make it
> work.
> It is very frustrating: Even if I am working with Fernando (who knows
> Alien very good), in three days we have not reach any target.
>
> It would be awesome if someone else wanted to give me a hand with this task:
> I believe It would be of interest for many of us.
>
> Cheers,
>  Alberto
>
>
> [1] http://markmail.org/message/bvk2gkue6kd4vqzo
> [2] http://numpy.org/
> [3] http://maxwell.me.gu.edu.au/spl/matlab-page/apiext.pdf
>
> On 28 September 2010 20:10, Alexandre Bergel <[hidden email]> wrote:
>> Hi!
>>
>> Is there a statistic library in Pharo?
>> Computing the correlation, linear regression, ...
>>
>> Cheers,
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Henrik Sperre Johansen
In reply to this post by Alexandre Bergel
On Sep 29, 2010, at 2:47 34PM, Alexandre Bergel wrote:

> Thanks Jimmie.
> About half of the tests are red. This library is about linear Algebra. Not really about statistics.
> But thanks for the link!
>
> Alexandre

If it's the same as what you can find in VW, in addition to linear algebra, it includes numerical methods for quite a few probability distributions as well though.

Cheers,
Henry
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Alexandre Bergel
>> Thanks Jimmie.
>> About half of the tests are red. This library is about linear Algebra. Not really about statistics.
>> But thanks for the link!
>>
>> Alexandre
>
> If it's the same as what you can find in VW, in addition to linear algebra, it includes numerical methods for quite a few probability distributions as well though.

Ok, thanks for the input!

Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

cedreek

Le 29 sept. 2010 à 15:39, Alexandre Bergel a écrit :

>>> Thanks Jimmie.
>>> About half of the tests are red. This library is about linear Algebra. Not really about statistics.
>>> But thanks for the link!
>>>
>>> Alexandre
>>
>> If it's the same as what you can find in VW, in addition to linear algebra, it includes numerical methods for quite a few probability distributions as well though.
>
> Ok, thanks for the input!


FWIW, I plan to implement Bayesian Network in Smalltalk... Nevertheless, it will be more a research project...

Until now, I haven't found any project nor code in that direction... except maybe SBN (Simple Bayesian Network) in ruby...

Cheers





>
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Alexandre Bergel
Ok. I am personally more interested in regression models

Alexandre


On 2 Oct 2010, at 07:15, Cédrick Béler wrote:

>
> Le 29 sept. 2010 à 15:39, Alexandre Bergel a écrit :
>
>>>> Thanks Jimmie.
>>>> About half of the tests are red. This library is about linear Algebra. Not really about statistics.
>>>> But thanks for the link!
>>>>
>>>> Alexandre
>>>
>>> If it's the same as what you can find in VW, in addition to linear algebra, it includes numerical methods for quite a few probability distributions as well though.
>>
>> Ok, thanks for the input!
>
>
> FWIW, I plan to implement Bayesian Network in Smalltalk... Nevertheless, it will be more a research project...
>
> Until now, I haven't found any project nor code in that direction... except maybe SBN (Simple Bayesian Network) in ruby...
>
> Cheers
>
>
>
>
>
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Alberto Bacchelli
In reply to this post by cedreek

>FWIW, I plan to implement Bayesian Network in Smalltalk... Nevertheless,
>it will be more a research project...

That would be awesome. Please keep us updated on it.
Isn't there anything in Java that could help your implementation?

Ciao,
 Alberto



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

csrabak
In reply to this post by Alexandre Bergel
I've been lurking on this thread because I also need a lot of statistics in my work, but as already wrote in another thread on far but related subject: I think we are better of if we get the FFI or Alien or its successor to work in such a way that makes it easy to interface with existing, thoroughly tested and continuously developed functionality for these specific areas.

I presently work a lot with R http://www.r-project.org/ and I remember an embryonic interface to it was done in Dolphin Smalltalk (which is Windows only), besides seem a former associate testing it a little, I went not any further on exploring it.

BTW, going to wishful mode I _think_ having connection to packages of this calibre (another one I'll like to have easy access is GNUPlot) would be even better if we could get the image inside a morphic object which would work as a graphics device for these programs. . .

my .0199999. . .

[]s

 



Em 02/10/2010 11:24, Alexandre Bergel < [hidden email] > escreveu:
Ok. I am personally more interested in regression models

Alexandre


On 2 Oct 2010, at 07:15, Cédrick Béler wrote:

>
> Le 29 sept. 2010 à 15:39, Alexandre Bergel a écrit :
>
>>>> Thanks Jimmie.
>>>> About half of the tests are red. This library is about linear Algebra. Not really about statistics.
>>>> But thanks for the link!
>>>>
>>>> Alexandre
>>>
>>> If it's the same as what you can find in VW, in addition to linear algebra, it includes numerical methods for quite a few probability distributions as well though.
>>
>> Ok, thanks for the input!
>
>
> FWIW, I plan to implement Bayesian Network in Smalltalk... Nevertheless, it will be more a research project...
>
> Until now, I haven't found any project nor code in that direction... except maybe SBN (Simple Bayesian Network) in ruby...
>
> Cheers
>
>
>
>
>
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Statistic tools in Pharo

Schwab,Wilhelm K
I recently became disillusioned with gnuplot and overall suggest prodding and helping the PLplot developers to improve their product.  The breaking point for me was plotting ~500k sample time series and watching Pharo+gnuplot struggle with marshaling data into and out of text or worse, fighting with barely documented methods for moving binary data into gnuplot.  Remember my questions about a Linux analog to Windows device contexts (one of the few things MS got right)?  Ground zero for this.  

My PLplot interface will likely appear "soon."  It needs to be cleaned up with 1.1.1 in mind, as does (much more so) code that I will make available for AccesIO USB A/D hardware.  

For numerical calculations, I agree that well-worn code (which can be hard to find) is of great value.  GSL is pretty good.  One thing that irritates me no end is that they use their vectors and matrices just enough to be a major pain but not at all consistently.  They also need to be scolded for making .so's (GSL and BLAS) that can't be loaded separately - they know about it - don't hold your breath.  Callbacks are sorely needed on our end[*].  When I have something worthy of release, I'll let you know; no promises about Windows support, though I won't deliberatly sabotage it - I simply don't care (and it feels GOOD<g>).

R is both friend and foe.  In general, I prepare data using Smalltalk (so I widen or lengthen data frames in Pharo rather than trying to figure out R syntax for such things).  Rejecting garbage, to a point, happens in R. I generally prefer to let R arrive at statistical measures (p-values, correlation coeffs, etc.) that are going to leave the nest.  My late Friday PM submission (now we wait...) contains numbers generated with various libraries, massaged in R, graphs from R and PLplot and nothing from gnuplot (which I was using just  a couple of months ago).  One scary thing: PLplot is only now growing a formalized way to create legends, which gnuplot does very well.  But if you deal with large numbers of points, gnuplot can become slow and pedantic.  The usual excuses such as "if you have that much data, you can't see them anyway..." don't really cut it.  There is something to be said for plotting everything and letting what Tufte would call ink density tell part of the story, especially with time series where peaks/outliers are interesting (downsampling will generally distort the message).

[*] Sig, yes, I know... :)  With the release of 1.1.1 and completion (for now) of my grant proposal, I need to start looking at undoing any damage that I have caused in the name of avoiding underscores.  Some things are arguably nicer for it, but most suffered mightily.  I am thinking exclusively of exernal interfacing; some of the stuff was named in a way that expects underscore to be present, and removing them makes a hell of a mess.  Time to fix that (thanks to all how have made it possible!!!), get daily operations on 1.1.1 and then to begin playing with NativeBoost.  I see there are pre-built Cog vms.  Is there a way to either build Cog+NB or to transfer the NB plugin built elsewhere to Cog?  Sounds like a good problem to have.

Bill



-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of [hidden email]
Sent: Saturday, October 02, 2010 7:29 PM
To: [hidden email]
Subject: Re: [Pharo-project] Statistic tools in Pharo

I've been lurking on this thread because I also need a lot of statistics in my work, but as already wrote in another thread on far but related subject: I think we are better of if we get the FFI or Alien or its successor to work in such a way that makes it easy to interface with existing, thoroughly tested and continuously developed functionality for these specific areas.

I presently work a lot with R http://www.r-project.org/ and I remember an embryonic interface to it was done in Dolphin Smalltalk (which is Windows only), besides seem a former associate testing it a little, I went not any further on exploring it.

BTW, going to wishful mode I _think_ having connection to packages of this calibre (another one I'll like to have easy access is GNUPlot) would be even better if we could get the image inside a morphic object which would work as a graphics device for these programs. . .

my .0199999. . .

[]s

 



Em 02/10/2010 11:24, Alexandre Bergel < [hidden email] > escreveu:
Ok. I am personally more interested in regression models

Alexandre


On 2 Oct 2010, at 07:15, Cédrick Béler wrote:

>
> Le 29 sept. 2010 à 15:39, Alexandre Bergel a écrit :
>
>>>> Thanks Jimmie.
>>>> About half of the tests are red. This library is about linear Algebra. Not really about statistics.
>>>> But thanks for the link!
>>>>
>>>> Alexandre
>>>
>>> If it's the same as what you can find in VW, in addition to linear algebra, it includes numerical methods for quite a few probability distributions as well though.
>>
>> Ok, thanks for the input!
>
>
> FWIW, I plan to implement Bayesian Network in Smalltalk... Nevertheless, it will be more a research project...
>
> Until now, I haven't found any project nor code in that direction... except maybe SBN (Simple Bayesian Network) in ruby...
>
> Cheers
>
>
>
>
>
>>
>> Alexandre
>> --
>> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
>> Alexandre Bergel  http://www.bergel.eu 
>> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project