摘要: history = model.fit() 绘制训练损失和验证损失 绘制训练精度和验证精度 阅读全文
posted @ 2018-12-29 23:35 WWBlog 阅读(3553) 评论(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 阅读(568) 评论(0) 推荐(0) 编辑
摘要: 换一种写法(来自Bilibili李宏毅 机器学习课程) 阅读全文
posted @ 2018-12-29 19:02 WWBlog 阅读(489) 评论(0) 推荐(0) 编辑