Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello sir, #2

Open
susal007 opened this issue Apr 16, 2020 · 1 comment
Open

Hello sir, #2

susal007 opened this issue Apr 16, 2020 · 1 comment

Comments

@susal007
Copy link
Collaborator

susal007 commented Apr 16, 2020

Hi sir if i type head(TP)nothing will appear.
TP = length(intersect(obs,desets))
FP = length(setdiff(obs,desets))
FN= length(setdiff(desets,obs))
TN= length(mysets) - (TP+FP+FN)
sensitivity=TP/(TP+FN)
specificity=TN/(TN+FP)
precision=TP/(TP+FP)
recall=TP/(TP+FN)
F1=2precisionrecall/(precision+recall)
str(F1)

@markziemann
Copy link
Owner

Hi susal you will need to calculate TP :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants