06 2020 档案

摘要:git config credential.helper store 阅读全文
posted @ 2020-06-30 10:45 市丸银 阅读(496) 评论(0) 推荐(1) 编辑
摘要:实用例子 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) 编辑
摘要:根据phone 查找 地点 安装 pip install phone 引用 from phone import Phone 使用 # 通过 电话号码 获取省份 通过 Phone模块 def get_province_city(self, phone_num): try: info = Phone() 阅读全文
posted @ 2020-06-17 16:48 市丸银 阅读(734) 评论(0) 推荐(0) 编辑
摘要:https://s3.amazonaws.com/text-datasets/imdb.npz 阅读全文
posted @ 2020-06-11 12:48 市丸银 阅读(855) 评论(1) 推荐(0) 编辑
摘要:好久不用matplotlib import matplotlib.pyplot as plt plt.figure() # 画图 plt.imshow(train_images[0]) # numpy plt.show() # 展示 阅读全文
posted @ 2020-06-11 10:44 市丸银 阅读(143) 评论(0) 推荐(0) 编辑
摘要:清华 pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple 豆瓣 推荐 pip config set global.index-url https://pypi.douban.com/simple 阅读全文
posted @ 2020-06-10 09:14 市丸银 阅读(187) 评论(0) 推荐(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) 编辑
摘要:TIME_ZONE = 'Asia/Shanghai' USE_TZ = False 在setting.py文件 阅读全文
posted @ 2020-06-05 08:59 市丸银 阅读(128) 评论(0) 推荐(0) 编辑
摘要:1、安装captcha pip install captcha 阅读全文
posted @ 2020-06-03 15:50 市丸银 阅读(120) 评论(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) 编辑

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