随笔分类 -  Keras使用

摘要:1 # coding: utf-8 2 3 # In[1]: 4 5 6 import urllib.request 7 import os 8 import tarfile 9 10 11 # In[2]: 12 13 14 url="http://ai.stanford.edu/~amaas/d 阅读全文
posted @ 2019-03-03 16:23 大浪淘沙、 阅读(882) 评论(0) 推荐(0)
摘要:1 # coding: utf-8 2 3 # In[1]: 4 5 6 import urllib.request 7 import os 8 9 10 # In[2]: 11 12 13 url="http://biostat.mc.vanderbilt.edu/wiki/pub/Main/Da 阅读全文
posted @ 2019-03-02 19:28 大浪淘沙、 阅读(730) 评论(0) 推荐(0)
摘要:View Code 有手册,然后代码不知道看一下:https://keras-cn.readthedocs.io/en/latest/ 首先是下载数据集,下载太慢了就从网盘上下载: 链接:https://pan.baidu.com/s/1W-d1atE-hvPwNOtcupfivQ 提取码:8rr5 阅读全文
posted @ 2019-03-02 18:28 大浪淘沙、 阅读(736) 评论(0) 推荐(0)
摘要:参考:林大贵.TensorFlow+Keras深度学习人工智能实践应用[M].北京:清华大学出版社,2018. 首先在命令行中写入 activate tensorflow和jupyter notebook,运行如下代码。当然,事先准备好MNIST数据集。 1 # coding: utf-8 2 3 阅读全文
posted @ 2019-02-21 17:28 大浪淘沙、 阅读(340) 评论(0) 推荐(0)
摘要:keras框架的MLP手写数字识别MNIST 代码: 1 # coding: utf-8 2 3 # In[1]: 4 5 6 import numpy as np 7 import pandas as pd 8 9 from keras.utils import np_utils 10 np.ra 阅读全文
posted @ 2019-02-07 21:19 大浪淘沙、 阅读(249) 评论(0) 推荐(0)