![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
本科 机器学习笔记
ML
清欢年岁~
计算机视觉、深度学习
展开
-
[转载]矩阵的求导
原文:http://blog.sina.com.cn/s/blog_7959e7ed0100w2b3.html 今天推导公式,发现居然有对矩阵的求导,狂汗–完全不会。不过还好网上有人总结了。吼吼,赶紧搬过来收藏备份。 基本公式: Y = A * X --> DY/DX = A’ Y = X * A --> DY/DX = A Y = A’ * X * B --> DY/DX = ...转载 2020-04-01 20:46:58 · 711 阅读 · 0 评论 -
机器学习笔记 python numpy基础
import numpy as np #numpy中存储数据类型应该相同 vector = np.array([5,10,15])#一维数组 matrix = np.array([[2,3,4],[3,4,5]])#矩阵 print(vector) #[ 5 10 15] print(matrix) #[[2 3 4] [3 4 5]] print(vector.shape) #维度...原创 2019-02-25 23:42:19 · 127 阅读 · 0 评论 -
机器学习笔记 seaborn笔记
import seaborn as sns import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt import pandas as pd import warnings warnings.filterwarnings("ignore") sns.set(color_codes = True) np....原创 2019-03-03 23:40:26 · 154 阅读 · 0 评论 -
机器学习笔记 混淆矩阵
import pandas as pd import numpy as np from sklearn.preprocessing import LabelEncoder from sklearn.cross_validation import train_test_split #交叉验证,拆分数据集 from sklearn.preprocessing import StandardScale...原创 2019-03-31 21:09:43 · 480 阅读 · 0 评论