【发布时间】:2016-11-01 13:24:56
【问题描述】:
我有这样的数据集
2016-10-24,23.00,15.47,76.00,1015.40,0.00,0.00,100.00,26.00,100.00,100.00,0.00,6.88,186.01,12.26,220.24,27.60,262.50,14.04,2.1
2016-10-24,22.00,16.14,73.00,1014.70,0.00,0.00,10.20,34.00,0.00,2.00,0.00,6.49,176.82,11.97,201.16,24.27,249.15,7.92,0.669999
....
....
此大小为 [n][20],此文件的格式为 CSV。 “n”也是未知的。如何在 Python 中通过 Tensorflow 导入和使用这些数据(例如:拆分训练和测试数据)。
我已经看过https://www.tensorflow.org/versions/r0.11/how_tos/reading_data/index.html#reading-data。但是,我仍然无法在我的代码中导入此文件。
【问题讨论】:
标签: python tensorflow