3 ms·
Some time ago I wrote this: https://notabug.org/ZelphirKaltstahl/guile-ml https://notabug.org/ZelphirKaltstahl/guile-ml -- It contains a parallelized decision t
by zelphirkalt 4y ago
Some time ago I wrote this: https://notabug.org/ZelphirKaltstahl/guile-ml https://notabug.org/ZelphirKaltstahl/guile-ml -- It contains a parallelized decision tree implementation in GNU Guile, a Scheme dialect. There is also https://github.com/lloda/guile-ffi-cblas https://github.com/lloda/guile-ffi-cblas which at least gives fast matrix multiplication. Example usage I have here: https://notabug.org/ZelphirKaltstahl/guile-math-examples/src/master/matrices/matrix-multiplication.scm https://notabug.org/ZelphirKaltstahl/guile-math-examples/src...
I don't know what is in the book, but things are possible.
- bigdict 4y agoFor sure, Lecun wrote a DL framework in Lisp decades ago.
- agumonkey 4y agoI didn't know about his past feat. Couldn't find the lisp framework you mention but there's this https://lush.sourceforge.net/faq.html https://lush.sourceforge.net/faq.html (trivia, he's also behind djvu format)
- nextos 4y agoLush was really great back then. He often criticizes Python openly. Personally, I also feel a bit sad the ecosystem has become a Python monoculture. Lua was much nicer. Let's hope this book sparks some interest in alternative languages for ML.
- pklausler 4y agoI'm really surprised that Haskell didn't take off here. Strong types, plus lazy evaluation that seems perfect for orchestrating asynchronous GPU operations.
- bigdict 4y agoThat's the one!
- agumonkey 4y agooh right, he mentions machine learning somewhere, naive me thought it was just a cute lisp repl that can also compile c for perf.
- fithisux 4y agoLove the beauty of Scheme, but lack of types (mypy Python / Java dev/ TS dev) infuses fear to me. I think with a little of patience I can get by.
- bilqis 4y agoYou should try typed Racket!
- fithisux 4y agoWill do. I have also found that 3 days ago https://github.com/zdimension/hm-infer-scheme https://github.com/zdimension/hm-infer-scheme fantastic for research
- freilanzer 4y agoCL is decent in this regard: http://alhassy.com/TypedLisp http://alhassy.com/TypedLisp
- freilanzer 4y agoI meant regarding types, I think the equivalent to the other link would be Coalton: https://github.com/coalton-lang/coalton https://github.com/coalton-lang/coalton
- bilqis 4y agoI don’t have much experience with CL, but I was always a bit put off by a mixture of different paradigms it has, ie it’s not being a pure or kinda pure functional language.
- freilanzer 4y agoThat's an advantage for me, tbh.