Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 1.04 KB

README.md

File metadata and controls

39 lines (32 loc) · 1.04 KB

matrigo

👩‍💻 Matrix library written in Go.

This code used to be in github.com/fr3fou/gone, but due to it being used in other places, I decided to extract it in its own repo.

TODO

  • Randomize
  • Transpose
  • Scale
  • AddMatrix
  • Add
  • SubtractMatrix
  • Subtract
  • Multiply
  • Multiply
  • Flatten
  • Unflatten
  • NewFromArray - makes a single row
  • Map
  • Fold
  • Methods to support chaining
  • Determinant
n.Weights[i].
   Multiply(output).                         // weighted sum of the previous layer)
   Add(n.Layers[i+1].Bias).                  // bias
   Map(func(val float64, x, y int) float64 { // activation
       return n.Layers[i+1].Activator.F(val)
   })

References