• Photography
    • Landscape
    • Building
    • Flowers
    • Portrait
    • Snapshot
    • Kids
    • Animals
  • Travel
    • China 中国
      • Beijing 北京
      • Shanghai 上海
      • Tibet 西藏
      • Guangdong 广东
      • Mongolia 蒙古
      • Jiangxi 江西
      • Hebei 河北
      • Henan 河南
      • Tianjin 天津
      • Fujian 福建
      • Liaoning 辽宁
      • Hong Kong 香港
      • Taiwan 台湾
    • United Arab Emirates 阿聯酋
      • Dubai 迪拜
      • Abu Dhabi 阿布扎比
    • South America 南美
      • Peru 秘鲁
      • Bolivia 玻利维亚
    • South Korea 南韩
    • Malaysia 马来西亚
      • Kuala Lumpur 吉隆坡
  • Hiking
  • Food
  • Blog
    • Machine Learning
    • Life in BJ
    • Free Talk
    • Movie
  • About Me
  • Links
  • 易經數字
Tuesday, May 13, 2025
  • Login
Billy's HOME 比利强
  • Photography
    • Landscape
    • Building
    • Flowers
    • Portrait
    • Snapshot
    • Kids
    • Animals
  • Travel
    • China 中国
      • Beijing 北京
      • Shanghai 上海
      • Tibet 西藏
      • Guangdong 广东
      • Mongolia 蒙古
      • Jiangxi 江西
      • Hebei 河北
      • Henan 河南
      • Tianjin 天津
      • Fujian 福建
      • Liaoning 辽宁
      • Hong Kong 香港
      • Taiwan 台湾
    • United Arab Emirates 阿聯酋
      • Dubai 迪拜
      • Abu Dhabi 阿布扎比
    • South America 南美
      • Peru 秘鲁
      • Bolivia 玻利维亚
    • South Korea 南韩
    • Malaysia 马来西亚
      • Kuala Lumpur 吉隆坡
  • Hiking
  • Food
  • Blog
    • Machine Learning
    • Life in BJ
    • Free Talk
    • Movie
  • About Me
  • Links
  • 易經數字
No Result
View All Result
Billy's HOME 比利强
  • Photography
    • Landscape
    • Building
    • Flowers
    • Portrait
    • Snapshot
    • Kids
    • Animals
  • Travel
    • China 中国
      • Beijing 北京
      • Shanghai 上海
      • Tibet 西藏
      • Guangdong 广东
      • Mongolia 蒙古
      • Jiangxi 江西
      • Hebei 河北
      • Henan 河南
      • Tianjin 天津
      • Fujian 福建
      • Liaoning 辽宁
      • Hong Kong 香港
      • Taiwan 台湾
    • United Arab Emirates 阿聯酋
      • Dubai 迪拜
      • Abu Dhabi 阿布扎比
    • South America 南美
      • Peru 秘鲁
      • Bolivia 玻利维亚
    • South Korea 南韩
    • Malaysia 马来西亚
      • Kuala Lumpur 吉隆坡
  • Hiking
  • Food
  • Blog
    • Machine Learning
    • Life in BJ
    • Free Talk
    • Movie
  • About Me
  • Links
  • 易經數字
No Result
View All Result
Billy's HOME 比利强
No Result
View All Result
  • Photography
  • Travel
  • Hiking
  • Food
  • Blog
  • About Me
  • Links
  • 易經數字

The magic behind the hype: Machine Learning Algorithm

December 8, 2019
in Blog, Machine Learning
Reading Time: 7 mins read
0 0
0
The magic behind the hype: Machine Learning Algorithm

Understanding the first component of Machine Learning Models

To enable your business processes with Machine Learning, you must consider both the data and the model. We’ve already discussed data extensively — in my last article on “data collection and feature extraction for Machine Learning”. That means, so far, we covered:

  • Basic concepts and terminology related to data collection;
  • Preparing and collecting data;
  • Identifying and extracting features.

In this article, I will discuss the Machine Learning Model, which involves two components: ML Algorithm and ML Training. After a quick glance at their definitions, I’ll focus on Machine Learning Algorithms. Training will be the topic of my next post.

Algorithms and Types of Machine Learning

There are several ways to approach Machine Learning Models. In this section, I’ll talk about how the algorithms correspond to the different types of Machine Learning; i.e., Supervised, Unsupervised, and Reinforcement Learning.

Supervised Learning

Supervised Learning means that the machine learns from a set of “labeled” or “tagged” training data with corresponding outputs. We can think of this in a simpler way, using f(x) = y. In this function, f is the machine learning model, x is the input data, and y is the output data.

There are three common methods of Supervised Learning: Binary Classification, Multiclass Classification, and Regression. Let’s discuss and look at some examples of each one.

1. Binary Classification

Binary Classification, a basic and common method, simply uses two categories: “Positive or Negative”, “0 or 1”, “Yes or No”, “Good or Bad”.

It can be applied broadly to many real-life scenarios. For example, when an email comes in, a binary classification system will analyze the email’s content and categorize it into “Spam” or “Non-spam”.

Some common binary algorithms are:

  • Logistic Regression
  • Decision Tree.
Logistic Regression: Any point above the threshold is “Yes”; any point below is “No”

2. Multiclass Classification

Multiclass Classification sorts the input data into different categories, making it quite similar to Binary Classification. However, as the name implies, Multiclass Classification provides more than two categories.

Let’s say we train the system to identify fruits, such as oranges, apples, bananas, and lemons. Then, when you randomly input a fruit photo to the system, it will tell you the correct fruit name.

Some common multiclass algorithms are:

  • K-Nearest Neighbors
  • Naive Bayes
  • Neural Networks
  • Support Vector Machines.
K-Nearest Neighbors: Classifies the training data into different categories.

3. Regression

Regression predicts a continuous value based on the input data. The difference between Regression and Multiclass Classification is that Regression returns a “value” or “number” where Multiclass Classification returns a “category” or “class”.

As an example, a regression can be used in the financial sector. If you provide historical stock prices to train an algorithm, it can be used to predict future stock prices on any given date.

Some common algorithms are:

  • Linear Regression
  • Lasso Regression.
Linear Regression: By plotting data points, the algorithm can predict a trend.

Unsupervised Learning

Unsupervised Learning is the opposite of Supervised Learning. Even if you don’t provide a set of “labeled” or “tagged” training data, the machine will still help you to discover the unknown patterns within.

Clustering Algorithms

Clustering algorithms are used in Unsupervised Learning to classify data into different groups.

Several common clustering algorithms are:

  • K-means,
  • Hierarchical,
  • Mean-Shift,
  • Density-Based Spatial Clustering of Applications with Noise (DBSCAN).

Many e-commerce companies use Unsupervised Learning for item recommendation. For example, an e-commerce company might use Unsupervised Learning to classify a user segment, and, according to the segment, the system will push specific items to them to increase the purchase conversion rate.

Reinforcement Learning

Reinforcement Learning, often referred to simply as RL, is a relatively new method of Machine Learning.

It started in 1997, when IBM’s supercomputer, Deep Blue, beat Garry Kasparov in chess. It was the first computer ever to beat a world champion and a stunning debut for Reinforcement Learning — which is how Deep Blue learned chess.

RL differs from other types of learning in that it provides an initial state. The ML agent can then select from a number of actions and move to different states, receiving positive or negative rewards for each. Through this process, it teaches itself the best policy to maximize rewards over time.

It can be applied to self-driving cars in the automotive industry.

Deep Blue playing against Garry Kasparov, 1997

There are two common approaches to Reinforcement Learning: Model-Based and Model-Free.

The Model-Based approach uses planning to decide what action to take; conversely, the Model-Free doesn’t like planning ahead an instead uses “trial-and-error”.

RL is a fairly new area of Machine Learning and too complicated to cover in detail here. However, a colleague of mine is publishing an extensive series on Reinforcement Learning, which you can start following here.

In Conclusion

You’ve learned some basic information about the Machine Learning Algorithms used in Supervised, Unsupervised and Reinforcement Learning.

You should also have an idea about how they can be applied in practical situations.

In my next article, I will elaborate on ML Training to round off our discussion of Machine Learning Models.

Thank you for reading! Follow me here and on social media to make sure you don’t miss the next installment. If you found this article useful, a share and some claps would mean the world to me and help fuel the rest of my series.

Questions or comments? I’d be more than happy to answer them here or via email.

You can also find me on LinkedIn, Facebook, Instagram, and my personal website.

共享 Share this:

  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on X (Opens in new window) X
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to email a link to a friend (Opens in new window) Email

Like this:

Like Loading...

Related

Previous Post

勇敢者游戏2:再战巅峰 Jumanji: The Next Level

Next Post

误杀 - 影评

Related Posts

Blog

CleanTalk: A Game-Changer in Combating WordPress Spam Registrations

July 26, 2024
Finance News

Why was Ryan Salame given a sentence longer than prosecutors recommended?

May 29, 2024
Finance News

‘Fly high, Bette’: This 88-year-old started her flight attendant career in 1957 and never officially retired

May 29, 2024
Finance News

Melinda French Gates is going her own way. Donating $1 billion to women’s rights after leaving the foundation she created with her ex-husband

May 29, 2024
Finance News

Country club seeks higher price in sale of 2,000-year-old sacred ceremonial grounds

May 29, 2024
Finance News

Hess shareholders to vote on Chevron deal as dispute with Exxon over Guyana assets creates uncertainty

May 29, 2024
Next Post
误杀 - 影评

误杀 - 影评

Please login to join discussion
ADVERTISEMENT

Browse by Category

  • Abu Dhabi 阿布扎比
  • Animals
  • Beijing 北京
  • Blog
  • Bolivia 玻利维亚
  • Building
  • China 中国
  • Dubai 迪拜
  • Finance News
  • Flowers
  • Food
  • Free Talk
  • Fujian 福建
  • Guangdong 广东
  • Hebei 河北
  • Henan 河南
  • Hiking
  • Hong Kong 香港
  • Investment
  • Jiangxi 江西
  • Kids
  • Kuala Lumpur 吉隆坡
  • Landscape
  • Liaoning 辽宁
  • Life in BJ
  • Machine Learning
  • Malaysia 马来西亚
  • Mongolia 蒙古
  • Movie
  • Peru 秘鲁
  • Photo News
  • Photography
  • Portrait
  • Shanghai 上海
  • Snapshot
  • South America 南美
  • South Korea 南韩
  • Star
  • Taiwan 台湾
  • Tianjin 天津
  • Tibet 西藏
  • Travel
  • United Arab Emirates 阿聯酋

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 30 other subscribers.
  • Photography
  • Travel
  • Hiking
  • Food
  • Blog
  • About Me
  • Links
  • 易經數字

© 2010-2022 Billy Tang
Supported By Growth SpeedUp Company

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Photography
    • Landscape
    • Building
    • Flowers
    • Portrait
    • Snapshot
    • Kids
    • Animals
  • Travel
    • China 中国
      • Beijing 北京
      • Shanghai 上海
      • Tibet 西藏
      • Guangdong 广东
      • Mongolia 蒙古
      • Jiangxi 江西
      • Hebei 河北
      • Henan 河南
      • Tianjin 天津
      • Fujian 福建
      • Liaoning 辽宁
      • Hong Kong 香港
      • Taiwan 台湾
    • United Arab Emirates 阿聯酋
      • Dubai 迪拜
      • Abu Dhabi 阿布扎比
    • South America 南美
      • Peru 秘鲁
      • Bolivia 玻利维亚
    • South Korea 南韩
    • Malaysia 马来西亚
      • Kuala Lumpur 吉隆坡
  • Hiking
  • Food
  • Blog
    • Machine Learning
    • Life in BJ
    • Free Talk
    • Movie
  • About Me
  • Links
  • 易經數字

© 2010-2022 Billy Tang
Supported By Growth SpeedUp Company

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.

Discover more from Billy's HOME 比利强

Subscribe now to keep reading and get access to the full archive.

Continue reading

 

Loading Comments...
 

You must be logged in to post a comment.

    %d