摘要: 1 # 利用鸢尾花数据集,实现前向传播、反向传播,可视化loss曲线 2 3 # 导入所需模块 4 import tensorflow as tf 5 from sklearn import datasets 6 from matplotlib import pyplot as plt 7 impo 阅读全文
posted @ 2020-05-03 22:28 WWBlog 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 1 # 利用鸢尾花数据集,实现前向传播、反向传播,可视化loss曲线 2 3 # 导入所需模块 4 import tensorflow as tf 5 from sklearn import datasets 6 from matplotlib import pyplot as plt 7 %mat 阅读全文
posted @ 2020-05-03 19:43 WWBlog 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 1 # 利用鸢尾花数据集,实现前向传播、反向传播,可视化loss曲线 2 3 # 导入所需模块 4 import tensorflow as tf 5 from sklearn import datasets 6 from matplotlib import pyplot as plt 7 impo 阅读全文
posted @ 2020-05-03 18:58 WWBlog 阅读(210) 评论(0) 推荐(0) 编辑
摘要: #利用鸢尾花数据,实现前向传播、反向传播,可视化loss曲线 #导入所需模块 import tensorflow as tf from sklearn import datasets import matplotlib.pyplot as plt import numpy as np import 阅读全文
posted @ 2020-04-21 23:49 WWBlog 阅读(301) 评论(0) 推荐(0) 编辑
摘要: # -*- coding: utf-8 -*- #导入所需模块 import tensorflow as tf from matplotlib import pyplot as plt import numpy as np import pandas as pd #读入数据/标签,生成x_train 阅读全文
posted @ 2020-04-21 21:01 WWBlog 阅读(356) 评论(0) 推荐(0) 编辑
摘要: 中国Mooc 北京大学 曹健 人工智能实践:Tensorflow笔记 https://www.icourse163.org/course/PKU-1002536002 阅读全文
posted @ 2020-04-13 21:43 WWBlog 阅读(514) 评论(0) 推荐(0) 编辑
摘要: 在B站下载的视频对应的字幕是json格式,在potplayer中不能导入json格式的字幕,在网上查找了一番, 发现已经有人用python写了json转换为srt的代码,见https://blog.csdn.net/mondaiji/article/details/104294430, 但那只是针对 阅读全文
posted @ 2020-03-26 23:13 WWBlog 阅读(8243) 评论(5) 推荐(1) 编辑
摘要: 1.安装Anaconda,添加环境变量; anaconda官网 https://www.anaconda.com/distribution/ 2.打开Anaconda navigator, 在environments下点击Create,创建独立的tensorflow环境; 3.在右上角搜索框中搜索t 阅读全文
posted @ 2020-03-03 18:57 WWBlog 阅读(1901) 评论(0) 推荐(0) 编辑
摘要: 1 from sklearn import datasets 2 import numpy as np 3 4 iris = datasets.load_iris() 5 6 X = iris.data[:, [2, 3]] 7 y = iris.target 8 print('Class labels:', np.unique(y)) 9 10 from sklearn... 阅读全文
posted @ 2019-06-08 22:09 WWBlog 阅读(256) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-01-05 13:05 WWBlog 阅读(338) 评论(0) 推荐(0) 编辑