書名: Keras Deep Learning Cookbook作者名: Rajdeep Dua Manpreet Singh Ghotra本章字數: 78字更新時間: 2021-06-10 19:38:52
How to do it...
Let's take an existing .csv file from the internet and use it to create a Keras dataset:
dataset = numpy.loadtxt("https://raw.githubusercontent.com/jbrownlee/Datasets/master/pima-indians-diabetes.data.csv", delimiter=",")
# split into input (X) and output (Y) variables
X = dataset[:,0:8]
Y = dataset[:,8]
Note that the dataset can be directly loaded from the URL with the .csv file.
The output of the preceding code is listed in the following snippet:
[ 6. 148. 72. 35. 0. 33.6 0.627 50. ]
1.0
推薦閱讀
- Canvas LMS Course Design
- 大數據專業英語
- R Machine Learning By Example
- WOW!Illustrator CS6完全自學寶典
- 西門子S7-200 SMART PLC從入門到精通
- 大數據處理平臺
- 運動控制器與交流伺服系統的調試和應用
- Visual FoxPro數據庫基礎及應用
- Deep Reinforcement Learning Hands-On
- Chef:Powerful Infrastructure Automation
- 網絡服務搭建、配置與管理大全(Linux版)
- INSTANT Munin Plugin Starter
- 微機組裝與維護教程
- PVCBOT零基礎機器人制作(第2版)
- Office 2010輕松入門