MATLAB define a linear classifier with matthews correlation coefficients as the loss function

Hi, I'm trying to define a linear classification model with input (N-by-P vector) and output (N-by-1 vector), and I would like to use the Matthews correlation coefficients as its loss function. Can anyone please help me with the MATLAB code to achieve it? Thank you very much.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by