#programming #engineering #statistics #PCA in #commonLisp #lisp #blog #easy #reference https://screwlisp.small-web.org/programming/lisp-principal-component-analysis/

While I am just feeding no-other-obvious-source lisp pieces of my brain to my young kitten, here is principle component analysis in common lisp using an openly available #ML package #clml from a Japanese telco changing hands 15 years ago, actively developed by a lisp lone wolf up until five years ago.

My demo is in english (#emacs #eev #eepitch) in contrast to the Japanese internals.

Lisp Principal Component Analysis (PCA) (eigendecomposition)

I think #CLML and @shinmera get this wrong:
You can't (well, shouldn't) do this in #CommonLisp :
(defclass my-array () ((actual-array) (element-types) (dimensions)))
because you end up with a garbage type. Instead I think:
(deftype arrayish (&optional type size) `(and (array type size) (satisfies some-predicate)))

This way you get a meaningful parameterised type that relates to array #types

Edit: Scroll down to @shinmera's commentary

#lisp y #gopher show live nowish on #aNONradio @SDF https://anonradio.net/
Topics:
(1) Lispy ai
Mastodon discussion and lots of links to current CommonLisp #ai (thanks everyone) https://mastodon.sdf.org/@screwtape/109978604825517968
- What even is #AI
- #CLML and #MGL
- #NLP ... Thanks @galdor @svetlyak40wt
- #Interlisp Medley + ai projects from xerox ai machines docs (thanks @amoroso )
(2) Chaosnet
really just my chaosnet fiddling and some reading of the #moon http://bitsavers.trailing-edge.com/pdf/mit/ai/AIM-628_chaosnet.pdf

#gopher #laundromat ???

// aNONradio // – [LIVE]: Open Mic – Anyone can stream with openmic

@mnl acronyms: #CLML is a now-forked big Japanese company's machine learning common lisp package. https://github.com/mmaul/clml
#MGL is a Franz lisp GPU-accelerated machine learning toolkit that won a Google competition for such. https://github.com/melisgl/mgl
#DL is a subset of #ML that uses at least something like a two layer hidden markov model with nonlinear activation functions.
Princomp = Principle component analysis is basically just an SVD. Er..
A GPU is hw good for bitmappable tasks.
AI is... er...
GitHub - mmaul/clml: Common Lisp Machine Learning Library

Common Lisp Machine Learning Library. Contribute to mmaul/clml development by creating an account on GitHub.

GitHub

@james just remembered, I want to talk about putting the #ai back in #ai programming. I want to get away from writing what feels like web utilities for unix and back to ai, both me personally and the lisp ecosystem as such.

My recent step was a phost/peertube video about #CLML princomp. And I guess I'll evolve a modern AI system out of that. There's also Northwestern's case based reasoning. #MGL GPU DL?

@scm @svetlyak40wt @galdor @left_adjoint @amoroso @mhcat @ldbeth ideas? @mnl

@galdor for example machine learning #CLML MUST have at least --dynamic-space-size 2560
https://github.com/mmaul/clml #CommonLisp #sbcl
GitHub - mmaul/clml: Common Lisp Machine Learning Library

Common Lisp Machine Learning Library. Contribute to mmaul/clml development by creating an account on GitHub.

GitHub

#machineLearning #CLML #ai #CommonLisp
A #princomp (eigendecomposition of covariance matrix) + #ascii #gnuplot #biplot #example

Done on an oval, it successfully finds and identifies the relative importance of the major and minor ellipse axes.

@pizzapal corrections plz
https://forth.noip.me:8443/w/3YvEi4iSWWmyHaqY8BHR6n

Princomp AI CommonLisp CLML

PeerTube

#procrastinating
I need to phlog/peertube/toot
"
look what running princomp does [in #CommonLisp #CLML with a dumb terminal #gnuplot ]
"
but I have to do infrastructural things for it and then it implies doing followups like eigenface which will be lots of work and make me sound sophomoric

and I have a million urgent things to do

Does anyone know a #book on ML that uses #CLML ? CLML has done exactly the best approach to #machineLearning : Foreign BLAS constructed algorithms in #CommonLisp for CPUs. (For use inside #emacs #orgmode ).

Aside, does anyone know any other #japan based #lisp treasures like this?