原文链接:https://colab.research.google.com/notebooks/mlcc/intro_to_pandas.ipynb 1- Pandas HomePage : http://pandas.pydata.org/ Docs : http://pandas.pydata ...
分类:
其他好文 时间:
2019-01-13 23:30:37
阅读次数:
426
numpy.linspace() 【numpy库文件中的函数】 numpy.linspace(开始,结束,个数(默认50)) 返回结果类型:ndarray,其中元素是float类型。如: 数组拼接方法三 思路:numpy提供了numpy.concatenate((a1,a2,...), axis=0 ...
分类:
编程语言 时间:
2019-01-13 17:11:14
阅读次数:
158
BP 算法推导过程 一.FP过程(前向 计算预测值) 定义sigmoid激活函数 输入层值和 标签结果 初始化 w,b 的值 计算隐层的结果 $$ h1 = Sigmod( Net_{h1}) =Sigmod(w1 l1+ w2 l2+b1 1) $$ [0.9129342275597286, 0. ...
分类:
编程语言 时间:
2019-01-12 13:17:52
阅读次数:
221
https://mp.weixin.qq.com/s?__biz=MjM5ODE1NDYyMA==&mid=2653390110&idx=1&sn=b3e5d6e946b719d08b67d9ebf88283fe&chksm=bd1c3d0d8a6bb41bf05a8ccc9f375528c7c5e ...
分类:
其他好文 时间:
2019-01-11 00:07:26
阅读次数:
494
和 threading 的比较 多进程 Multiprocessing 和多线程 threading 类似, 他们都是在 python 中用来并行运算的. 不过既然有了 threading, 为什么 Python 还要出一个 multiprocessing 呢? 原因很简单, 就是用来弥补 thre ...
分类:
编程语言 时间:
2019-01-10 23:00:50
阅读次数:
301
编辑类: Ctrl + Space 基本的代码完成(类、方法、属性)Ctrl + Alt + Space 类名完成Ctrl + Shift + Enter 语句完成Ctrl + P 参数信息(在方法中调用参数)Ctrl + Q 快速查看文档Shift + F1 外部文档Ctrl + 鼠标 简介Ctr ...
分类:
其他好文 时间:
2019-01-10 15:47:08
阅读次数:
105
```python from sklearn.cluster import KMeans import numpy as np X = np.array([[1, 2], [1, 4], [1, 0],[4, 2], [4, 4], [4, 0]]) kmeans = KMeans(n_cluste... ...
分类:
其他好文 时间:
2019-01-06 16:37:20
阅读次数:
164
前面介绍过了Tensorflow的基本概念,比如如何使用tensorboard查看计算图。本篇则着重介绍和整理下Constant相关的内容。 "基于TensorFlow的深度学习系列教程 1——Hello World!" 常量的概念 在tensorflow中,数据分为几种类型: 常量Constant ...
分类:
其他好文 时间:
2019-01-05 18:14:51
阅读次数:
1478
''' 鸡兔同笼问题: 头:35 腿:94 求多少只鸡与兔 x+y=35 2x+4y=94 ''' import numpy as np a=np.array([[1,1],[2,4]]) b=np.array([35,94]) y=np.linalg.solve(a,b) print(y) ...
分类:
其他好文 时间:
2019-01-05 13:36:19
阅读次数:
203
[TOC] Logistic回归 博客园地址: "https://www.cnblogs.com/chenyoude/" git 地址: "https://github.com/nickcyd/machine_learning" 微信:a1171958281 代码中涉及的数学公式可以自己下载 Typ ...
分类:
其他好文 时间:
2018-12-31 13:02:55
阅读次数:
336