Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,21 @@ Create new network:

//...

// Network has 9 enters and 3 layers
// Network has 9 enters and 3 layers
// ( 9 neurons, 9 neurons and 4 neurons).
// Last layer is network output.
n := neural.NewNetwork(9, []int{9,9,4})
// Randomize sypaseses weights
n.RandomizeSynapses()

result := n.Calucate([]float64{0,1,0,1,1,1,0,1,0})

```

result := n.Calculate([]float64{0,1,0,1,1,1,0,1,0})

# Persist network

Save to file:

```go
import "github.com/NOX73/or-neural/persist"
import "github.com/NOX73/go-neural/persist"

persist.ToFile("/path/to/file.json", network)
```
Expand Down Expand Up @@ -66,7 +64,7 @@ You can get estimate of learning quality:
e := learn.Evaluation(network, in, idealOut)
```

# Engine
# Engine

For concurrent learn, calculate & dump neural network.

Expand Down