フィルターのクリア

How to calculate F1 score for my logistic regression application

2 ビュー (過去 30 日間)
Ron Herman
Ron Herman 2020 年 5 月 1 日
回答済み: KALYAN ACHARJYA 2020 年 5 月 1 日
I have a coloumn vector y and y_predict.
How to calculate precesion, recall and F1 score?????
I have the confusion matrix cm
y =
1
1
0
1
1
1
0
0
1
y_predict =
1
1
1
1
1
0
0
0
0
calculated accuracy=66.67%
by using command
pa=mean(double(ypred== y_test)) * 100
cm =
2 1
2 4

回答 (1 件)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020 年 5 月 1 日

カテゴリ

Help Center および File ExchangeLinear and Nonlinear Regression についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by