Machine Learning
文章平均质量分 72
尧尧1988
这个作者很懒,什么都没留下…
展开
-
Better Naive Bayes: 12 Tips To Get The Most From The Naive Bayes Algorithm
1. Missing Data Naive Bayes can handle missing data. Attributes are handled separately by the algorithm at both model construction time and prediction time. As such, if a data instance has a missin...转载 2018-09-21 23:47:35 · 285 阅读 · 0 评论 -
主成分分析(一)
转自:https://www.cnblogs.com/jerrylead/archive/2011/04/18/2020209.html 主成分分析(Principal components analysis)-最大方差解释 在这一篇之前的内容是《Factor Analysis》,由于非常理论,打算学完整个课程后再写。在写这篇之前,我阅读了PCA、SVD和LDA。这几个模型相近,却都...转载 2018-10-22 20:58:49 · 394 阅读 · 0 评论 -
线性判别分析(二)
转自:https://www.cnblogs.com/jerrylead/archive/2011/04/21/2024389.html (Linear Discriminant Analysis)(二) 4. 实例 将3维空间上的球体样本点投影到二维上,W1相比W2能够获得更好的分离效果。 PCA与LDA的降维对比: ...转载 2018-10-22 20:42:10 · 266 阅读 · 0 评论 -
线性判别分析(一)
转自:https://www.cnblogs.com/jerrylead/archive/2011/04/21/2024384.html 线性判别分析(Linear Discriminant Analysis)(一) 1. 问题 之前我们讨论的PCA、ICA也好,对样本数据来言,可以是没有类别标签y的。回想我们做回归时,如果特征太多,那么会产生不相关特征引入、过度拟合等问题。我们可...转载 2018-10-22 20:38:01 · 1386 阅读 · 0 评论 -
Lazy learning algorithm VS Eager learning algorithm
1.Lazy: a.Defers data processing until it recieves a request to classify an unlabeled example. b.Replies to a request for information by combining its stored training data. c.Discard...原创 2018-10-22 07:48:43 · 538 阅读 · 0 评论 -
KNN——A few thoughts on picking a value for "K"
1.We just need to try out a few values before settling on one. 2.Low values of K can be noisy and subject to the effects of outliers. 3.Large values of K smooth over thins, but if k is very large, a...原创 2018-10-22 04:50:51 · 106 阅读 · 0 评论 -
PCA vs LDA
1. The differences between PCA and LDA: a.PCA has a bad discriminability between different classes, but it has high variance in one class. b.LDA has a good discriminability between differen...原创 2018-10-22 04:33:12 · 191 阅读 · 0 评论 -
Let's implement a Gaussian Naive Bayes classifier in Python
A typical example of problem ML tries to solve is classification. It can be expressed as the ability, given some input data, to assign a ‘class label’ to a sample. To make things clearer, let’s...转载 2018-09-29 08:32:37 · 528 阅读 · 0 评论 -
2 ways of using Naive Bayes classification for numeric attributes
Previously we described how Naive Bayes classification works using the classic golf example. There we mentioned that the algorithm is designed to work primarily with categorical attributes such as Out...转载 2018-09-29 04:35:37 · 449 阅读 · 0 评论 -
Naive Bayes Classification With Sklearn
This tutorial details Naive Bayes classifier algorithm, its principle, pros & cons, and provides an example using the Sklearn python Library. Context Let’s take the famous Titanic Disaster datas...转载 2018-09-29 04:28:57 · 469 阅读 · 0 评论 -
Three types of Naïve Bayes classifiers
There are three types of Naïve Bayes classifiers. When handling real-time data with continuous distribution, Naïve Bayes classifier considers that the big data is generated through a Gaussian process ...原创 2018-09-29 04:07:56 · 259 阅读 · 0 评论 -
主成分分析(二)
转自:https://www.cnblogs.com/jerrylead/archive/2011/04/18/2020216.html 主成分分析(Principal components analysis)-最小平方误差解释 接上篇 3.2 最小平方误差理论 假设有这样的二维样本点(红色点),回顾我们前面探讨的是求一条直线,使得样本点投影到直线上的点的方差最大...转载 2018-10-22 21:09:03 · 295 阅读 · 0 评论