aunum / goro

A High-level Machine Learning Library for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HELP: How to construct goro sequential input from []float64

sam-the-programmer opened this issue · comments

I am really struggling to turn a []float64 into a Goro Sequential compatible input because of the limited examples on the Goro and Gorgonia libraries. Would it be possible for a brief explanation on how to do this?

Hey, its been awhile since I've worked on this, but take a look at https://github.com/aunum/goro/blob/master/pkg/v1/model/io.go#L156 and you would likely need to set the type to float64 https://github.com/aunum/goro/blob/master/pkg/v1/model/io.go#L35

Thanks

Just another note, because of the lack of documentation I was wondering how you can specify whether to run the Goro Sequential network on the CPU or GPU