lstm icon indicating copy to clipboard operation
lstm copied to clipboard

LSTM based on go and gorgonia

Results 3 lstm issues
Sort by recently updated
recently updated
newest added

go get github.com/owulveryck/lstm turn out error # github.com/owulveryck/lstm src/github.com/owulveryck/lstm/train.go:124:24: cannot use gorgonia.Nodes literal (type gorgonia.Nodes) as type []gorgonia.ValueGrad in argument to solver.Step https://github.com/owulveryck/lstm/blob/1581884e9d2de83e1150c04fb815637351082b7a/train.go#L124 ``` diff --git a/train.go b/train.go index b67f296..f8252aa...

The parser should be able to parse multi-line equations such as: ``` iₜ=(Wᵢ·xₜ+Uᵢ·hₜ₋₁+Bᵢ) fₜ=σ(Wf·xₜ+Uf·hₜ₋₁+Bf) oₜ=σ(Wₒ·xₜ+Uₒ·hₜ₋₁+Bₒ) ĉₜ=tanh(Wc·xₜ+Uc·hₜ₋₁+Bc) cₜ=fₜ*cₜ₋₁+iₜ*ĉₜ hₜ=oₜ*tanh(cₜ) y=Wy·hₜ+By ``` And use a "Getter" to access the nodes; eg: `parser.Get("y")`

enhancement

The `datasetter` interface should be enhanced because it should not be aware of the execution graph. This would allow more simple implementation.

enhancement