人工智能
xx博
这个作者很懒,什么都没留下…
展开
-
手写数字识别tf1.0
import tensorflow as tf mnist mnist.train mnist.validation mnist.test import matplotlib.pyplot as plt def plot_image(image): plt.inshow(image.reshape(28,28),cmap="binary") x=tf.placeholder(tf.fl...原创 2020-02-01 22:30:40 · 266 阅读 · 0 评论 -
泰坦尼克号预测
数据集下载 import urllib.request import os data_url="http://biostat.mc.vanderbilt.edu/wiki/pub/Main/DataSets/titanic3.xls" data_file_path="data/titanic3.xls"#当前路径下需要存在data文件夹 if not os.path.isfile(data_...原创 2020-02-01 22:27:23 · 213 阅读 · 0 评论