金字塔算法_金字塔原理应用于分类算法

本文介绍了如何将金字塔原则应用于分类算法,通过链接提供的一篇原文深入探讨了这一概念,涉及机器学习和人工智能领域的算法实践。
摘要由CSDN通过智能技术生成

金字塔算法

机器学习(Machine Learning)

The Minto’s Pyramid Principle is aimed to better organize and remember ideas with a pyramidal, and hierarchical structure. If you have to answer: what are the different classification algorithms? You may think of, Random Forest, KNN, Naive Bayes, Logistic Regression, and so on. But what the relationships between, and how to give a structured answer?

Minto的金字塔原理旨在更好地组织和记住具有金字塔结构和层次结构的思想。 如果您必须回答:有哪些不同的分类算法? 您可能会想到随机森林,KNN,朴素贝叶斯,逻辑回归等。 但是之间的关系是什么,如何给出结构化的答案呢?

Let’s apply the Minto’s Pyramid Principle.

让我们应用Minto的金字塔原理。

3种基本方法 (3 basic ways)

3 basic ways of classifying data into categories are:

将数据分类的3种基本方法是:

  • Linear classifier with a linear decision boundary. Or more precisely, the decision boundary is a hyperplane.

    具有线性决策边界的线性分类器。 更确切地说,决策边界是一个超平面。

  • Nearest Neighbors by analyzing k nearest observations (after calculating the distance between the new observation and all training data)

    通过分析k个最近的观测值(计算新观测值与所有训练数据之间的距离之后),确定最邻近的人

  • Decision trees construct (hyper)rectangles to regroup observations by minimizing gini or entropy.

    决策树通过最小化基尼或熵来构造(超)矩形以重新组合观察。

Image for post

线性分类器 (Linear classifiers)

Construct a hyperplane to separate the space into 2, this is the principle of linear classifiers. Now how to construct this hyperplane? We have several different ways.

构造一个超平面将空间分成2个,这是线性分类器的原理。 现在如何构造这个超平面? 我们有几种不同的方式。

Let’s first consider the binary classification case:

让我们首先考虑二进制分类的情况:

  • Logistic Regression uses the logistic function to transform the data into classes 0 and 1. And the value of 0.5 will give us the dec

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值