Traditional Culture Encyclopedia - Traditional festivals - Evaluation index of multi-classification algorithm
Evaluation index of multi-classification algorithm
Let's take recall_score as an example to look at the evaluation indicators of two categories in sklearn library. In the recall_score method, there is a very important parameter' average', and its default value is' binary'. In the case of default parameters, this evaluation method can only solve two kinds of problems. If this evaluation method is used for multi-category problems, the system will report an error. But' average' also provides us with four other parameters' micro',' macro',' weight' and' sample' to solve the multi-classification problem. Let's take the iris data set as an example to explain these four parameters one by one.
[sk learn . metrics . recall _ score]('/p/59862986
- Previous article:Who is the person who made outstanding contributions to Chinese medicine for the Ming Dynasty?
- Next article:What does sushi master mean?
- Related articles
- What is the explanation for Tokyo D¨ngj¨©ng
- What are the five characteristics of Internet big data?
- How to tie a slingshot with a rubber band
- Future development trend of financial market
- What horse-producing areas were there in ancient China?
- China's ancient architecture in the commonly used wooden frame structure mode are mainly ...
- English Introduction to Classical Chinese Musical Instruments
- What are the boutique investment banking FA organizations in China?
- On the welfare lottery system
- Does the company have to invest?