Created
August 1, 2018 23:06
-
-
Save ericness/63b6b8b257c06a51c8cba6674cbf6962 to your computer and use it in GitHub Desktop.
Converting pandas DataFrame into TensorFlow Dataset Output
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
feature1 feature2 feature3 target | |
0 0.474587 0.036684 0.625155 1 | |
1 0.157049 0.430315 0.659612 2 | |
2 0.525072 0.106430 0.524478 2 | |
3 0.012953 0.287160 0.742407 1 | |
4 0.613194 0.767960 0.967474 2 | |
5 0.199329 0.304863 0.677769 0 | |
6 0.956099 0.330080 0.928238 0 | |
7 0.659677 0.920559 0.894692 1 | |
8 0.956639 0.781366 0.224493 0 | |
9 0.753351 0.441041 0.935381 0 | |
features:[ 0.47458735 0.03668378 0.62515461] target:1 | |
features:[ 0.1570487 0.43031451 0.65961212] target:2 | |
features:[ 0.52507234 0.10642993 0.52447796] target:2 | |
features:[ 0.01295257 0.28716013 0.74240679] target:1 | |
features:[ 0.61319375 0.76796025 0.96747416] target:2 | |
features:[ 0.19932869 0.30486301 0.67776895] target:0 | |
features:[ 0.95609885 0.33007979 0.92823815] target:0 | |
features:[ 0.65967703 0.92055887 0.89469218] target:1 | |
features:[ 0.95663929 0.78136647 0.22449259] target:0 | |
features:[ 0.75335097 0.44104064 0.93538052] target:0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment