forked from hunkim/DeepLearningZeroToAll
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* hotfix: label and backprop * fix: data label must start from 0 tf.one_hot requires Y data labels begin with 0
- Loading branch information
Showing
2 changed files
with
162 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,120 +1,120 @@ | ||
# https://archive.ics.uci.edu/ml/machine-learning-databases/zoo/zoo.data,,,,,,,,,,,,,,,, | ||
# 1. animal name: (deleted),,,,,,,,,,,,,,,, | ||
# 2. hair Boolean",,,,,,,,,,,,,,,, | ||
# 3. feathers Boolean",,,,,,,,,,,,,,,, | ||
# 4. eggs Boolean",,,,,,,,,,,,,,,, | ||
# 5. milk Boolean",,,,,,,,,,,,,,,, | ||
# 6. airborne Boolean",,,,,,,,,,,,,,,, | ||
# 7. aquatic Boolean",,,,,,,,,,,,,,,, | ||
# 8. predator Boolean",,,,,,,,,,,,,,,, | ||
# 9. toothed Boolean",,,,,,,,,,,,,,,, | ||
# 10. backbone Boolean",,,,,,,,,,,,,,,, | ||
# 11. breathes Boolean",,,,,,,,,,,,,,,, | ||
# 12. venomous Boolean",,,,,,,,,,,,,,,, | ||
# 13. fins Boolean",,,,,,,,,,,,,,,, | ||
# 14. legs Numeric (set of values: {0",2,4,5,6,8}),,,,,,,,,,, | ||
# 15. tail Boolean",,,,,,,,,,,,,,,, | ||
# 16. domestic Boolean",,,,,,,,,,,,,,,, | ||
# 17. catsize Boolean",,,,,,,,,,,,,,,, | ||
# 18. type Numeric (integer values in range [1",7]),,,,,,,,,,,,,,, | ||
1,0,0,1,0,0,1,1,1,1,0,0,4,0,0,1,1 | ||
1,0,0,1,0,0,0,1,1,1,0,0,4,1,0,1,1 | ||
0,0,1,0,0,1,1,1,1,0,0,1,0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,0,0,2,1,0,0,2 | ||
1,0,0,1,0,0,0,1,1,1,0,0,2,1,0,0,1 | ||
0,0,1,0,0,1,1,0,0,0,0,0,5,0,0,0,7 | ||
0,0,1,0,0,1,1,1,1,0,1,1,0,1,0,1,4 | ||
0,1,1,0,1,1,0,0,1,1,0,0,2,1,0,1,2 | ||
0,0,1,0,0,0,0,0,0,1,0,0,6,0,0,0,6 | ||
0,0,1,0,0,1,0,1,1,1,0,0,4,0,0,0,5 | ||
0,0,1,0,0,0,0,0,1,1,0,0,4,1,0,1,3 | ||
0,0,1,0,0,0,1,1,1,1,0,0,4,1,0,0,3 | ||
0,0,1,0,0,1,1,1,1,0,0,1,0,1,0,1,4 | ||
1,0,0,1,1,0,0,1,1,1,0,0,2,1,0,0,1 | ||
1,0,0,1,0,0,0,1,1,1,0,0,4,1,0,0,1 | ||
0,1,1,0,1,0,1,0,1,1,0,0,2,1,0,1,2 | ||
1,0,0,1,0,0,0,1,1,1,0,0,2,1,0,1,1 | ||
1,0,1,0,1,0,0,0,0,1,1,0,6,0,0,0,6 | ||
1,0,0,1,0,0,1,1,1,1,0,0,4,1,0,1,1 | ||
0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,7 | ||
0,1,1,0,1,0,0,0,1,1,0,0,2,1,0,0,2 | ||
# 2. hair Boolean",,,,,,,,,,,,,,,, | ||
# 3. feathers Boolean",,,,,,,,,,,,,,,, | ||
# 4. eggs Boolean",,,,,,,,,,,,,,,, | ||
# 5. milk Boolean",,,,,,,,,,,,,,,, | ||
# 6. airborne Boolean",,,,,,,,,,,,,,,, | ||
# 7. aquatic Boolean",,,,,,,,,,,,,,,, | ||
# 8. predator Boolean",,,,,,,,,,,,,,,, | ||
# 9. toothed Boolean",,,,,,,,,,,,,,,, | ||
# 10. backbone Boolean",,,,,,,,,,,,,,,, | ||
# 11. breathes Boolean",,,,,,,,,,,,,,,, | ||
# 12. venomous Boolean",,,,,,,,,,,,,,,, | ||
# 13. fins Boolean",,,,,,,,,,,,,,,, | ||
# 14. legs Numeric (set of values: {0",2,4,5,6,8}),,,,,,,,,,, | ||
# 15. tail Boolean",,,,,,,,,,,,,,,, | ||
# 16. domestic Boolean",,,,,,,,,,,,,,,, | ||
# 17. catsize Boolean",,,,,,,,,,,,,,,, | ||
# 18. type Numeric (integer values in range [0",6]),,,,,,,,,,,,,,, | ||
1,0,0,1,0,0,1,1,1,1,0,0,4,0,0,1,0 | ||
1,0,0,1,0,0,0,1,1,1,0,0,4,1,0,1,0 | ||
0,0,1,0,0,1,1,1,1,0,0,1,0,1,0,0,3 | ||
1,0,0,1,0,0,1,1,1,1,0,0,4,0,0,1,0 | ||
1,0,0,1,0,0,1,1,1,1,0,0,4,1,0,1,0 | ||
1,0,0,1,0,0,0,1,1,1,0,0,4,1,0,1,0 | ||
1,0,0,1,0,0,0,1,1,1,0,0,4,1,1,1,0 | ||
0,0,1,0,0,1,0,1,1,0,0,1,0,1,1,0,3 | ||
0,0,1,0,0,1,1,1,1,0,0,1,0,1,0,0,3 | ||
1,0,0,1,0,0,0,1,1,1,0,0,4,0,1,0,0 | ||
1,0,0,1,0,0,1,1,1,1,0,0,4,1,0,1,0 | ||
0,1,1,0,1,0,0,0,1,1,0,0,2,1,1,0,1 | ||
0,0,1,0,0,1,1,1,1,0,0,1,0,1,0,0,3 | ||
0,0,1,0,0,0,1,0,0,0,0,0,0,0,0,0,6 | ||
0,0,1,0,0,1,1,0,0,0,0,0,4,0,0,0,6 | ||
0,0,1,0,0,1,1,0,0,0,0,0,6,0,0,0,6 | ||
0,1,1,0,1,0,1,0,1,1,0,0,2,1,0,0,1 | ||
1,0,0,1,0,0,0,1,1,1,0,0,4,1,0,1,0 | ||
0,0,1,0,0,1,1,1,1,0,0,1,0,1,0,1,3 | ||
0,0,0,1,0,1,1,1,1,1,0,1,0,1,0,1,0 | ||
0,1,1,0,1,0,0,0,1,1,0,0,2,1,1,0,1 | ||
0,1,1,0,1,1,0,0,1,1,0,0,2,1,0,0,1 | ||
1,0,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0,0,0,0,0,1,1,1,1,0,1,0,0,1,0,0,2 | ||
0,0,1,0,0,1,1,0,0,0,1,0,0,0,0,0,6 | ||
0,1,1,0,1,1,1,0,1,1,0,0,2,1,0,0,1 | ||
0,1,1,0,1,1,1,0,1,1,0,0,2,1,0,0,1 | ||
0,0,1,0,0,0,1,1,1,1,0,0,0,1,0,0,2 | ||
0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,6 | ||
0,0,1,0,0,1,0,1,1,0,0,1,0,1,0,0,3 | ||
0,1,1,0,1,0,0,0,1,1,0,0,2,1,0,0,1 | ||
1,0,0,1,0,0,0,1,1,1,0,0,2,1,0,0,0 | ||
0,0,1,0,0,1,1,0,0,0,0,0,5,0,0,0,6 | ||
0,0,1,0,0,1,1,1,1,0,1,1,0,1,0,1,3 | ||
0,1,1,0,1,1,0,0,1,1,0,0,2,1,0,1,1 | ||
0,0,1,0,0,0,0,0,0,1,0,0,6,0,0,0,5 | ||
0,0,1,0,0,1,0,1,1,1,0,0,4,0,0,0,4 | ||
0,0,1,0,0,0,0,0,1,1,0,0,4,1,0,1,2 | ||
0,0,1,0,0,0,1,1,1,1,0,0,4,1,0,0,2 | ||
0,0,1,0,0,1,1,1,1,0,0,1,0,1,0,1,3 | ||
1,0,0,1,1,0,0,1,1,1,0,0,2,1,0,0,0 | ||
1,0,0,1,0,0,0,1,1,1,0,0,4,1,0,0,0 | ||
0,1,1,0,1,0,1,0,1,1,0,0,2,1,0,1,1 | ||
1,0,0,1,0,0,0,1,1,1,0,0,2,1,0,1,0 | ||
1,0,1,0,1,0,0,0,0,1,1,0,6,0,0,0,5 | ||
1,0,0,1,0,0,1,1,1,1,0,0,4,1,0,1,0 | ||
0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,6 | ||
0,1,1,0,1,0,0,0,1,1,0,0,2,1,0,0,1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters