摘要: 转自 https://github.com/trekhleb/homemade-machine-learning 阅读全文
posted @ 2019-01-05 12:43 WWBlog 阅读(361) 评论(0) 推荐(0) 编辑
摘要: xmind 官网 https://www.xmind.net/ 1.安装alien sudo apt-get install alien 2.到下载的文件目录下将.rpm格式的软件包转换成.deb格式 sudo alien XMind-ZEN-for-Linux-64bit.rpm 3.执行完成后生 阅读全文
posted @ 2019-01-05 11:24 WWBlog 阅读(2553) 评论(0) 推荐(0) 编辑
摘要: def smooth_curve(points, factor = 0.9): smoothed_points = [] for point in points: if smoothed_points: previous = smoothed_points[-1] smoothed_points.append(pre... 阅读全文
posted @ 2019-01-03 23:23 WWBlog 阅读(568) 评论(0) 推荐(0) 编辑
摘要: """K折验证""" #K validation import numpy as np k = 4 num_val_samples = len(train_data) // k num_epochs = 100 all_scores = [] for i in range(k): print("processing fold #", i) val_data = train... 阅读全文
posted @ 2019-01-03 23:21 WWBlog 阅读(349) 评论(0) 推荐(0) 编辑
摘要: history = model.fit() 绘制训练损失和验证损失 绘制训练精度和验证精度 阅读全文
posted @ 2018-12-29 23:35 WWBlog 阅读(3552) 评论(0) 推荐(0) 编辑
摘要: from keras.datasets import imdb (train_data, train_labels), (test_data, test_labels) = imdb.load_data(num_words = 10000) print(train_data[0]) print(len(train_data[0])) print(train_data[1]) print(tra... 阅读全文
posted @ 2018-12-29 22:18 WWBlog 阅读(564) 评论(0) 推荐(0) 编辑
摘要: 换一种写法(来自Bilibili李宏毅 机器学习课程) 阅读全文
posted @ 2018-12-29 19:02 WWBlog 阅读(488) 评论(0) 推荐(0) 编辑
摘要: 1.在windows10上安装Anaconda。 Anaconda windows版官网下载地址 https://www.anaconda.com/download/#windows 清华大学开源软件镜像站 https://mirrors.tuna.tsinghua.edu.cn/anaconda/ 阅读全文
posted @ 2018-12-16 16:22 WWBlog 阅读(3286) 评论(0) 推荐(0) 编辑
摘要: 中国大学Mooc 北京大学 人工智能实践:Tensorflow笔记(week3) 阅读全文
posted @ 2018-12-16 15:51 WWBlog 阅读(1515) 评论(0) 推荐(0) 编辑
摘要: You have a bucket with 3 red balls and 3 green balls. Assume that once you draw a ball out of the bucket, you don't replace it. What is the probabilit 阅读全文
posted @ 2018-12-04 19:12 WWBlog 阅读(426) 评论(0) 推荐(0) 编辑