Skip to content

Commit bbe05ab

Browse files
committed
Added logic gate example training data
Added: and.data, nand.data, nor.data, not.data, or.data, xnor.data
1 parent 64b4a58 commit bbe05ab

File tree

6 files changed

+50
-0
lines changed

6 files changed

+50
-0
lines changed

examples/and.data

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
4 2 1
2+
-1 -1
3+
-1
4+
-1 1
5+
-1
6+
1 -1
7+
-1
8+
1 1
9+
1

examples/nand.data

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
4 2 1
2+
-1 -1
3+
1
4+
-1 1
5+
1
6+
1 -1
7+
1
8+
1 1
9+
-1

examples/nor.data

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
4 2 1
2+
-1 -1
3+
1
4+
-1 1
5+
-1
6+
1 -1
7+
-1
8+
1 1
9+
-1

examples/not.data

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2 1 1
2+
-1
3+
1
4+
1
5+
-1

examples/or.data

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
4 2 1
2+
-1 -1
3+
-1
4+
-1 1
5+
1
6+
1 -1
7+
1
8+
1 1
9+
1

examples/xnor.data

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
4 2 1
2+
-1 -1
3+
1
4+
-1 1
5+
-1
6+
1 -1
7+
-1
8+
1 1
9+
1

0 commit comments

Comments
 (0)