这篇记录的内容来自于Andrew Ng教授在coursera网站上的授课。 1.多元线性回归(multivariate linear regression): h函数:$h_{\theta}{(x)}=\theta_{0}+\sum_{i=1}^{n}{\theta_{i}x_{i}}$ 为方便起见 ...
分类:
其他好文 时间:
2020-02-15 09:50:40
阅读次数:
81
1. Gaussian processesGaussian processes are the extension of multivariate Gaussians to infinite-size collections real valued variables. In particular, ...
分类:
其他好文 时间:
2020-02-09 18:32:46
阅读次数:
89
import os os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' import tensorflow as tf #tensorboard --logdir="./" def linearregression(): with tf.variable_scope(" ...
分类:
其他好文 时间:
2020-01-31 20:44:31
阅读次数:
83
局部加权回归( locally weighted regression ) 特征选择问题:underfitting,overfitting parametric learing algorithm:有固定数目的参数以用来数据拟合的算法; Non parametric learing algorith ...
分类:
其他好文 时间:
2020-01-29 18:23:37
阅读次数:
97
投票法(voting)是集成学习里面针对分类问题的一种结合策略。基本思想是选择所有机器学习算法当中输出最多的那个类。 分类的机器学习算法输出有两种类型:一种是直接输出类标签,另外一种是输出类概率,使用前者进行投票叫做硬投票(Majority/Hard voting),使用后者进行分类叫做软投票(So ...
分类:
其他好文 时间:
2020-01-29 10:26:43
阅读次数:
232
import pandas as pd import numpy as np import matplotlib.pyplot as plt class linear_regression(object): 计算均方误差损失 def compute_loss(self,y,y_hat): retur ...
分类:
其他好文 时间:
2020-01-01 18:39:11
阅读次数:
101
陈某在B站上面搜索了监督学习和非监督学习 看完了一段40分钟左右介绍非监督学习算法中介绍期望最大算法(EM算法)的教学视频 也顺带又复习了一遍二项分布以及标准正态的概率密度 极大似然估计的计算方法 了解了算法背景 极大似然估计存在局限性 1.需要事先假定假定数据分类 2.假设的数据分布与真实的数据分 ...
分类:
其他好文 时间:
2019-12-23 20:39:21
阅读次数:
94
嘉宾:刘雨丹 腾讯 高级研究员 整理:Jane Zhang 来源:DataFunTalk 出品:DataFun 注:欢迎关注DataFunTalk同名公众号,收看第一手原创技术文章。 导读:本次分享是微信看一看团队在 KDD2019 上发表的一篇论文。长尾问题是推荐系统中的经典问题,但现今流行的点击 ...
分类:
微信 时间:
2019-11-25 15:02:16
阅读次数:
114
import numpy as np import matplotlib.pyplot as plt plt.rcParams['font.family'] = ['sans-serif'] plt.rcParams['font.sans-serif'] = ['SimHei'] def linea ...
分类:
编程语言 时间:
2019-11-19 01:11:05
阅读次数:
106
Problem Set 3Due October 18th, 11pmNote that October 21st will be our in-class mid-term.1. A predictive estimator and Lin’s estimatorConsider a comple ...
分类:
其他好文 时间:
2019-10-18 18:50:01
阅读次数:
78