- The Data Science Workshop
- Anthony So Thomas V. Joseph Robert Thas John Andrew Worsley Dr. Samuel Asare
- 237字
- 2021-06-11 18:27:24
Introduction
In the previous chapter, you saw how to build a binary classifier using the famous Logistic Regression algorithm. A binary classifier can only take two different values for its response variables, such as 0 and 1 or yes and no. A multiclass classification task is just an extension. Its response variable can have more than two different values.
In the data science industry, quite often you will face multiclass classification problems. For example, if you were working for Netflix or any other streaming platform, you would have to build a model that could predict the user rating for a movie based on key attributes such as genre, duration, or cast. A potential list of rating values may be: Hate it, Dislike it, Neutral, Like it, Love it. The objective of the model would be to predict the right rating from those five possible values.
Multiclass classification doesn't always mean the response variable will be text. In some datasets, the target variable may be encoded into a numerical form. Taking the same example as discussed, the rating may be coded from 1 to 5: 1 for Hate it, 2 for Dislike it, 3 for Neutral, and so on. So, it is important to understand the meaning of this response variable first before jumping to the conclusion that this is a regression problem.
In the next section, we will be looking at training our first Random Forest classifier.
- Learning Cython Programming(Second Edition)
- 小創(chuàng)客玩轉(zhuǎn)圖形化編程
- Learning ASP.NET Core 2.0
- C語言程序設(shè)計
- 機械工程師Python編程:入門、實戰(zhàn)與進(jìn)階
- 3D少兒游戲編程(原書第2版)
- Python Data Analysis Cookbook
- Instant Nancy Web Development
- Windows Phone 7.5:Building Location-aware Applications
- C/C++數(shù)據(jù)結(jié)構(gòu)與算法速學(xué)速用大辭典
- uni-app跨平臺開發(fā)與應(yīng)用從入門到實踐
- Go語言從入門到精通
- Scala Functional Programming Patterns
- 計算語言學(xué)導(dǎo)論
- 從零開始學(xué)UI:概念解析、實戰(zhàn)提高、突破規(guī)則