News for hackers. Stuff that matters.
Re:Graphical linear algebra: from matrices to monoids by InclinedPlane on Friday February 16, 2018 @04:45PM (#16396700)
I'll always recommend 3blue1brown's incomparable videos on linear algebra: https://www.youtube.com/watch?v=kjBOesZCoqc&list=PLZHQObOWTQ...
Re:Graphical linear algebra: from matrices to monoids by 0x4FFC8F on Saturday February 17, 2018 @01:34PM (#16401956)
The best, hands down on YouTube.
Re:Graphical linear algebra: from matrices to monoids by BoiledCabbage on Saturday February 17, 2018 @01:26PM (#16401925)
Really interesting. As well he seems to re-derive and implementation of Forth.

In episode 6, Right under the diagran for Crema di Marscapone he has a formula.

Does anyone that uses Forth know if it has that circle-plus operator? It seems to really lend to conciseness - and I hadn't remembered anything like it last time I looked at Forth.

https://graphicallinearalgebra.net/2015/05/06/crema-di-masca...

Re:Graphical linear algebra: from matrices to monoids by evincarofautumn on Saturday February 17, 2018 @07:37PM (#16403706)
It’s not surprising—there’s a deep relationship among concatenative languages, Hughes’ arrows, combinator calculus, category theory, linear algebra, logic, even topology. I haven’t read through this but I guess the ⊕ operator would be “* * *” (parallel composition) in arrow notation; in Haskell it has the type “Arrow a ⇒ a b c → a b′ c′ → a (b, b′) (c, c′)”, or “(b → c) → (b′ → c′) → (b, b′) → (c, c′)” specialised to the function arrow.
Re:Graphical linear algebra: from matrices to monoids by pubby on Saturday February 17, 2018 @03:05PM (#16402438)
There's no operator because composition and direct sum are implicit in the order of your program words.
Re:Graphical linear algebra: from matrices to monoids by proc0 on Friday February 16, 2018 @06:11PM (#16397414)
I've been looking for a categorical take on neural networks and have found nothing, and this might get me started into translating some existing NN papers to CT.
Re:Graphical linear algebra: from matrices to monoids by danharaj on Friday February 16, 2018 @06:18PM (#16397469)
Re:Graphical linear algebra: from matrices to monoids by proc0 on Tuesday February 20, 2018 @01:15PM (#16422487)
Amazing! Thank you. And I'll say, CT is so much better on the eyes than matrix/linear calculus.
Re:Graphical linear algebra: from matrices to monoids by Myrmornis on Saturday February 17, 2018 @02:20AM (#16399506)
How closely is this related to Penrose's graphical tensor notation?

https://en.wikipedia.org/wiki/Penrose_graphical_notation

Re:Graphical linear algebra: from matrices to monoids by letlambda on Saturday February 17, 2018 @03:44PM (#16402590)
I think the major difference is this notation has the count of loose wires corresponding to dimension, and Penrose notation has the count of loose wires corresponding to tensor valence.

Here, a diagram with 1L and 2R wires corresponds to a 2d-vector, in Penrose's notation it would correspond to a (1,2) tensor that takes kd-vectors to kXk matrices.

But... they certainly have a similar feel. I wonder if you could build up the Penrose notation out of this.

Re:Graphical linear algebra: from matrices to monoids by grenoire on Friday February 16, 2018 @04:30PM (#16396547)
This was absolutely amazing! Reminds me of lambda maths a lot.
Re:Graphical linear algebra: from matrices to monoids by 2_listerine_pls on Friday February 16, 2018 @05:18PM (#16396983)
What problem does graph-representation solve?
Re:Graphical linear algebra: from matrices to monoids by danharaj on Friday February 16, 2018 @05:46PM (#16397228)
The structure is more obviously modular and the algebraic laws become topological phenomena, which makes it easier to consider more complicated structures than vector spaces.
Re:Graphical linear algebra: from matrices to monoids by macawfish on Saturday February 17, 2018 @02:23AM (#16399520)
You might be interested in Leavitt path algebras!
Re:Graphical linear algebra: from matrices to monoids by macawfish on Friday February 16, 2018 @05:40PM (#16397187)
From what I can tell, this series is a kind of intro to category theory by way of linear algebra