上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 30 下一页
摘要: 非常详细的sklearn介绍 https://blog.csdn.net/algorithmPro/article/details/103045824 机器学习算法那些事 2019-11-12 08:30:00 0 引言 Sklearn (全称 Scikit-Learn) 是基于 Python 语言 阅读全文
posted @ 2020-09-27 09:18 xiondun 阅读(2653) 评论(0) 推荐(1)
摘要: 梯度下降法的原理与实现 本文链接:http://blog.csdn.net/dpengwang/article/details/86028041 概念介绍 梯度下降法目的是为了“下降”,下降的方法是按照“梯度”。比如你在一座山上,当前你只能迈出一步,如何走才能使你的高度下降的最多呢,根据梯度的理论, 阅读全文
posted @ 2020-09-24 17:31 xiondun 阅读(894) 评论(0) 推荐(0)
摘要: MSE(均方误差)、RMSE (均方根误差)、MAE (平均绝对误差) 1、MSE(均方误差)(Mean Square Error) MSE是真实值与预测值的差值的平方然后求和平均。 范围[0,+∞),当预测值与真实值完全相同时为0,误差越大,该值越大。 import numpy as np fro 阅读全文
posted @ 2020-09-22 10:48 xiondun 阅读(2649) 评论(0) 推荐(0)
摘要: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple tensorflow 阅读全文
posted @ 2020-09-21 12:08 xiondun 阅读(67) 评论(0) 推荐(0)
摘要: 添加国内源: conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free conda config --add channels https://mirrors.tuna.tsinghua.e 阅读全文
posted @ 2020-09-21 09:36 xiondun 阅读(214) 评论(0) 推荐(0)
摘要: Python requests.post方法中data与json参数区别 在通过requests.post()进行POST请求时,传入报文的参数有两个,一个是data,一个是json。 data与json既可以是str类型,也可以是dict类型。 区别: 1、不管json是str还是dict,如果不 阅读全文
posted @ 2020-09-17 13:48 xiondun 阅读(672) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/nulige/p/6351318.html RabbitMQ队列 RabbitMQ是一个在AMQP基础上完整的,可复用的企业消息系统。他遵循Mozilla Public License开源协议。 MQ全称为Message Queue, 消息队列(MQ) 阅读全文
posted @ 2020-09-17 10:58 xiondun 阅读(644) 评论(0) 推荐(0)
摘要: import asyncio async def a(): print('Suspending a') await asyncio.sleep(0) print('Resuming a') async def b(): print('In b') async def main(): await as 阅读全文
posted @ 2020-09-14 10:52 xiondun 阅读(371) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/27258289 本文将会讲述Python 3.5之后出现的async/await的使用方法,以及它们的一些使用目的,如果错误,欢迎指正。 昨天看到David Beazley在16年的一个演讲:Fear and Awaiting in Asy 阅读全文
posted @ 2020-09-12 11:19 xiondun 阅读(635) 评论(0) 推荐(0)
摘要: 转自 https://zhuanlan.zhihu.com/p/25228075 本文将通过一些例子来讲述作为Python开发者有哪些常用的方式来实现异步编程,以及分享个人对异步编程的理解,如有错误,欢迎指正。 先从一个例子说起。 小梁是一个忠实的电影好爱者,有一天,小梁看到豆瓣这个网站,发现了很多 阅读全文
posted @ 2020-09-12 11:00 xiondun 阅读(224) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 30 下一页