Generalized Linear Models and Stochastic Gradient Descent in D
9il via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Sat Jun 10 18:57:52 PDT 2017
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 appreciate your suggestions.
>
> Apologies for the spartan nature of the article formatting.
> That will change for the final draft.
>
> Thank you in advance
>
> DP
The code has huge number of allocations. For example, T[][]
matrixes are and then concatenated to be used in BLAS.
Why not to use ndslice and Lubeck [1] libraries instead?
[1] https://github.com/kaleidicassociates/lubeck
Ilya
More information about the Digitalmars-d-announce
mailing list