Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-12 Thread 9il via Digitalmars-d-announce
On Monday, 12 June 2017 at 14:46:30 UTC, jmh530 wrote: On Sunday, 11 June 2017 at 15:57:14 UTC, Ilya wrote: [...] Thanks. This will definitely be a very useful library. Your write-up might explain the meaning of the name. Laeeth proposed the name https://en.wikipedia.org/wiki/L%C3%BCbeck

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-12 Thread jmh530 via Digitalmars-d-announce
On Sunday, 11 June 2017 at 15:57:14 UTC, Ilya wrote: It uses mir-blas and mir-lapack packages. They are low level and satisfy betterC requirements. Mir is a libraries collection to write more high level easy to use libraries. Mir should provide basic data types, patterns, and low level API.

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread 9il via Digitalmars-d-announce
On Sunday, 11 June 2017 at 12:04:36 UTC, data pulverizer wrote: On Sunday, 11 June 2017 at 01:59:37 UTC, 9il wrote: Why not to use ndslice and Lubeck [1] libraries instead? [1] https://github.com/kaleidicassociates/lubeck Ilya It is already has hight level ndslice interface for inv

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread Ilya via Digitalmars-d-announce
On Sunday, 11 June 2017 at 13:36:09 UTC, jmh530 wrote: On Sunday, 11 June 2017 at 12:36:19 UTC, 9il wrote: I ported few large complex Matlab scripts using Lubeck and Mir-Algorithm (closed source). It works perfectly and results are the same as Matlab original! All functions from Lubeck was

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread jmh530 via Digitalmars-d-announce
On Sunday, 11 June 2017 at 12:36:19 UTC, 9il wrote: I ported few large complex Matlab scripts using Lubeck and Mir-Algorithm (closed source). It works perfectly and results are the same as Matlab original! All functions from Lubeck was used in this work. Mir Algorithm has over then 2K

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread 9il via Digitalmars-d-announce
On Sunday, 11 June 2017 at 11:10:38 UTC, data pulverizer wrote: On Sunday, 11 June 2017 at 01:57:52 UTC, 9il wrote: [...] You are right - I realised this as I was writing the script but I address this point later ... [...] Thank you for mentioning the Lubeck package, I did not know

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread data pulverizer via Digitalmars-d-announce
On Sunday, 11 June 2017 at 11:30:03 UTC, Nicholas Wilson wrote: An additional takeaway for me was that I also found the use of array operations like a[] = b[]*c[] or d[] -= e[] -f created odd effects in my calculations the outputs were wrong and for ages I didn't know why but later ended

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread data pulverizer via Digitalmars-d-announce
On Sunday, 11 June 2017 at 01:59:37 UTC, 9il wrote: Why not to use ndslice and Lubeck [1] libraries instead? [1] https://github.com/kaleidicassociates/lubeck Ilya It is already has hight level ndslice interface for inv (inverse) and mtimes (matmul). p.p.s Okay, I can see how writing an

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread Nicholas Wilson via Digitalmars-d-announce
On Sunday, 11 June 2017 at 10:21:03 UTC, data pulverizer wrote: Speaking of not losing your audience: give a link to the NRA and/or a brief explanation of how it generalises to higher dimensions (graph or animation for the 2D case would be good, perhaps take something from wikipedia) NRA?

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread data pulverizer via Digitalmars-d-announce
On Sunday, 11 June 2017 at 01:59:37 UTC, 9il wrote: Why not to use ndslice and Lubeck [1] libraries instead? [1] https://github.com/kaleidicassociates/lubeck Ilya It is already has hight level ndslice interface for inv (inverse) and mtimes (matmul). p.s. I think the work you guys are

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread data pulverizer via Digitalmars-d-announce
On Sunday, 11 June 2017 at 01:57:52 UTC, 9il wrote: The code has huge number of allocations. For example, T[][] matrixes are and then concatenated to be used in BLAS. You are right - I realised this as I was writing the script but I address this point later ... Why not to use ndslice and

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-11 Thread data pulverizer via Digitalmars-d-announce
It is obvious that you took time and care to review the article. Thank you very much! On Sunday, 11 June 2017 at 00:40:23 UTC, Nicholas Wilson wrote: Maybe its the default rendering but the open math font is hard to read as the sub scripts get vertically compressed. My suggestions:

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-10 Thread 9il via Digitalmars-d-announce
Why not to use ndslice and Lubeck [1] libraries instead? [1] https://github.com/kaleidicassociates/lubeck Ilya It is already has hight level ndslice interface for inv (inverse) and mtimes (matmul).

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-10 Thread 9il via Digitalmars-d-announce
On Saturday, 10 June 2017 at 20:03:16 UTC, data pulverizer wrote: Hi all, I have written a draft article on Generalized Linear Models and Stochastic Gradient Descent in D (https://github.com/dataPulverizer/glm-stochastic-gradient-descent-d/blob/master/article.ipynb) and would greatly

Re: Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-10 Thread Nicholas Wilson via Digitalmars-d-announce
On Saturday, 10 June 2017 at 20:03:16 UTC, data pulverizer wrote: Hi all, I have written a draft article on Generalized Linear Models and Stochastic Gradient Descent in D (https://github.com/dataPulverizer/glm-stochastic-gradient-descent-d/blob/master/article.ipynb) and would greatly

Generalized Linear Models and Stochastic Gradient Descent in D

2017-06-10 Thread data pulverizer via Digitalmars-d-announce
Hi all, I have written a draft article on Generalized Linear Models and Stochastic Gradient Descent in D (https://github.com/dataPulverizer/glm-stochastic-gradient-descent-d/blob/master/article.ipynb) and would greatly appreciate your suggestions. Apologies for the spartan nature