- TensorFlow Machine Learning Projects
- Ankit Jain Armando Fandango Amita Kapoor
- 402字
- 2021-06-10 19:15:30
Classification
Classification is one of the classical problems in machine learning. Data under consideration could belong to one class or another, for example, if the images provided are data, they could be pictures of cats or dogs. Thus, the classes, in this case, are cats and dogs. Classification means identifying the label or class of the objects under consideration. Classification falls under the umbrella of supervised machine learning. In classification problems, a training dataset is provided that has features or inputs and their corresponding outputs or labels. Using this training dataset, a model is trained; in other words, the parameters of the model are computed. The trained model is then used on new data to find its correct labels.
Classification problems can be of two types: binary class or multiclass. Binary class means that the data is to be classified into two distinct and discrete labels; for example, the patient has cancer or the patient does not have cancer, and the images are of cats or dogs and so on. Multiclass means that the data is to be classified among multiple classes, for example, an email classification problem will divide emails into social media emails, work-related emails, personal emails, family-related emails, spam emails, shopping offer emails, and so on. Another example would be of pictures of digits; each picture could be labeled between 0 and 9, depending on what digit the picture represents. In this chapter, we will look at examples of both kinds of classification.
The most popular method for classification is logistic regression. Logistic regression is a probabilistic and linear classifier. The probability that the vector of input features belongs to a specific class can be described mathematically by the following equation:

In the preceding equation, the following applies:
- Y represents the output
- i represents one of the classes
- x represents the inputs
- w represents the weights
- b represents the biases
- z represents the regression equation
- ? represents the smoothing function (or model, in our case)
The ?(z) function represents the probability that x belongs to class i when w and b are given. Thus, the model has to be trained to maximize the value of this probability.
- 虛擬儀器設計測控應用典型實例
- 基于C語言的程序設計
- Natural Language Processing Fundamentals
- 流處理器研究與設計
- 永磁同步電動機變頻調(diào)速系統(tǒng)及其控制(第2版)
- 大數(shù)據(jù)平臺異常檢測分析系統(tǒng)的若干關鍵技術研究
- 工業(yè)機器人安裝與調(diào)試
- 計算機與信息技術基礎上機指導
- 走近大數(shù)據(jù)
- 精通數(shù)據(jù)科學:從線性回歸到深度學習
- 液壓機智能故障診斷方法集成技術
- Mastering pfSense
- Learning Apache Apex
- 電腦上網(wǎng)入門
- Dreamweaver+Photoshop+Flash+Fireworks網(wǎng)站建設與網(wǎng)頁設計完全實用