Spaces:
Sleeping
Sleeping
File size: 230 Bytes
0a04cd7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
package nn
func (nn *NN) Train() {
nn.InitWnB()
nn.TrainTestSplit()
// iterate n times where n = nn.Epochs
// use backprop algorithm on each iteration
// to fit the model to the data
for i := 0; i < nn.Epochs; i++ {
}
}
|