필터 지우기
필터 지우기

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 CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by