Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dlidstrom committed Dec 13, 2023
1 parent dbbf369 commit ab1643d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,12 @@ func main() {
}

fmt.Printf("Result after %d iterations\n", ITERS)
fmt.Println(" XOR XNOR OR AND NOR NAND")
fmt.Println(" XOR XNOR OR AND NOR NAND")
for i := 0; i < len(allData); i++ {
data := allData[i]
pred := trainer.network.Predict(data.input)
fmt.Printf(
"%.0f,%.0f = %.3f %.3f %.3f %.3f %.3f %.3f\n",
"%.0f,%.0f = %.3f %.3f %.3f %.3f %.3f %.3f\n",
data.input[0],
data.input[1],
pred[0],
Expand Down

0 comments on commit ab1643d

Please sign in to comment.