How to achieved Matlab code for high precision, recall and F-measure values in ANN or PNN ?

1 view (last 30 days)
In My Project whitefly and Thrip identification algorithm achieved high precision, recall and F-measure values. The Algorithm is ANN and PNN Both...
My Paper Title is " Combination of image processing and artificial neural networks as a novel approach for the identification of Bemisia tabaci and Frankliniella occidentalis on sticky traps in greenhouse agriculture "
I neead a MATLAB Code for given parameters... How to find this parameters values in both ANN and PNN via MATLAB CODE??

Answers (1)

Piyush Kumar
Piyush Kumar on 26 Sep 2024
You can use confusion function to calculate false negative (FN), false positive (FP), true positive (TP), true negative (TP) and then calculate the parameters using formulae -
  • precision = TP / (TP + FP);
  • recall = TP / (TP + FN);
  • f_measure = 2 * (precision * recall) / (precision + recall);

Categories

Find more on Agriculture in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!