随笔分类 -  机器学习

摘要:实用例子 from sklearn import datasets import matplotlib.pyplot as plt # # 簇 # x, y = datasets.make_blobs(n_samples=1000, n_features=4, centers=4, cluster_ 阅读全文
posted @ 2020-06-20 16:52 市丸银 阅读(200) 评论(0) 推荐(0) 编辑
摘要:1、简易安装模块 conda install scikit-learn 失败看下面链接 https://sklearn.apachecn.org/docs/master/62.html 2、整体过程(与tensorflow相似) 1)、获取数据 2)、建模 3)、训练模型 4)、测试模型 3、简单案 阅读全文
posted @ 2020-06-20 16:41 市丸银 阅读(209) 评论(0) 推荐(0) 编辑
摘要:path = r"C:\Users\wuhao\.keras\datasets\mnist.npz" def load_data(path): with np.load(path) as f: x_train, y_train = f['x_train'], f['y_train'] x_test, 阅读全文
posted @ 2020-06-20 14:32 市丸银 阅读(1432) 评论(0) 推荐(0) 编辑
摘要:https://s3.amazonaws.com/text-datasets/imdb.npz 阅读全文
posted @ 2020-06-11 12:48 市丸银 阅读(855) 评论(1) 推荐(0) 编辑
摘要:https://tf.wiki/ https://github.com/snowkylin/tensorflow-handbook https://blog.csdn.net/lzs781/article/details/104742043/ 官网 https://tensorflow.google 阅读全文
posted @ 2020-06-09 15:40 市丸银 阅读(268) 评论(0) 推荐(0) 编辑
摘要:1、安装工具(anaconda) 2、安装tensorflow pip install -i https://pypi.douban.com/simple tensorflow 3、安装 Visual C++ Redistributable for Visual Studio 2015 https: 阅读全文
posted @ 2020-06-03 10:58 市丸银 阅读(128) 评论(0) 推荐(0) 编辑
摘要:最简单的安装方法 conda conda install scikit-learn 其它,参考 https://www.cnblogs.com/magle/p/5638409.html 阅读全文
posted @ 2020-05-08 09:54 市丸银 阅读(20070) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示