Skip to content

Commit cca5485

Browse files
committed
Minor change to the evolve example
1 parent 61bff06 commit cca5485

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/evolve/main.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ func main() {
3434
right,
3535
}
3636

37-
// Which of the elements in the input data are we trying to identify?
38-
correctResultsForUp := []float64{0.0, -1.0, -1.0, -1.0}
37+
// Target scores for: up, down, left, right
38+
correctResultsForUp := []float64{1.0, -1.0, -1.0, -1.0}
3939

4040
// Prepare a neural network configuration struct
4141
config := &wann.Config{

0 commit comments

Comments
 (0)