write a code using MATLAB to calculate recall and precision and then plot a graph on these values.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
R=[10,7,3,2,5,1,8,6,4,9]
R =
10 7 3 2 5 1 8 6 4 9
V=[1,2,10]
V =
1 2 10
intersection (R,V)
??? Undefined function or method 'intersection' for input arguments of type 'double'.
intersect (R,V)
ans =
1 2 10
[s index]= intersect(R,V)
s =
1 2 10
index =
6 4 1
% run a loop 3 times
size(index,2)
ans =
3
length(index)
ans =
3
1 comentario
James Tursa
el 26 de Mayo de 2015
It isn't clear what you want done or what you are having problems with. Please read this:
Respuestas (0)
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!