Classify

3 次查看(过去 30 天)
Austin
Austin 2011-7-13
回答: Kenta 2020-3-31
Hello,
I have not run across anything with the Classify function that indicates the number of observations for each group must be equivalent. This has been done previously using LDA (ie Altman z-score paper) but I just want to be clear it is not required using this function.
Thanks
  1 个评论
Austin
Austin 2011-7-14
To clarify, I want to be sure it is able to weight each of the separate groups based on their size when discriminating between them. Thanks

请先登录,再进行评论。

回答(2 个)

Veera Kanmani
Veera Kanmani 2018-4-20
https://www.mathworks.com/videos/an-introduction-to-classification-68891.html

Kenta
Kenta 2020-3-31
For example, in Support Vector Machine (SVM), you can specify the weitht of each class by defining some parameters such as cost and prior. I am not sure if my answer can response to what you intended to ask, but I hope it can help you.
If you impose a great penalty if A is classified into B, such inference will not happen a lot. When the number of images (sample) which belong to class A is much greater, many test images might be classified into A. In that case, you can weight each class.

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by