changeset 645:397e94f6db44

LSH "test" fix The test, which is currently based on eyeballing theoretical/observed retrieval graphs, was comparing log(e) to log10.
author mas01cr
date Tue, 13 Oct 2009 14:26:27 +0000
parents 404222029e27
children 368c8c72e723
files tests/pointset_test/plotLSHresults.m
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/pointset_test/plotLSHresults.m	Tue Oct 13 14:26:26 2009 +0000
+++ b/tests/pointset_test/plotLSHresults.m	Tue Oct 13 14:26:27 2009 +0000
@@ -43,7 +43,7 @@
 hold on
 for k=1:10
   if(useLog)
-    semilogx(radii,kk*log(RR(k,:)),[num2str(c(mod(k,length(c))+1)) '-+'],'lineWidth',2)
+    semilogx(radii,kk*log10(RR(k,:)),[num2str(c(mod(k,length(c))+1)) '-+'],'lineWidth',2)
   else
     plot(radii,RR(k,:).^kk,[num2str(c(mod(k,length(c))+1)) '-+'],'lineWidth',2)    
   end