function getEvaluationMetrics(tp,fp,tn,fn){
precision=(tp/(tp+fp));
recall=(tp/(tp+fn));
f1=2*(precision*recall/(precision+recall));
var m= new Array(3); m[0]=precision; m[1]=recall; m[2]=f1;
return m;
}
Subscribe to:
Post Comments (Atom)
AI
Despite the benefits of AI we are starving for humanity.
-
It is difficult to create robot that cleans our arbitrary dirty dishes. However , if we put some digital information on dishes (special des...
-
Our parents were arranging their schedule according to sunrise and sunset. They are still consistent in their habit. However, in our generat...
-
Robot Particles Display: Current display devices can show any image for a very cheap price. But it will be very intresting if someone tr...
No comments:
Post a Comment