Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

RunPQNNSwithADC.m 871 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. clear all
  2. close all
  3. clc
  4. kk=[16 64 256 1024 2048];
  5. rat=[1 2 5 10 20 50 100];
  6. mm=[8 16];
  7. %kk=2048;
  8. %mm=[8 16];
  9. nRecall=100;
  10. %%
  11. for ii=1:length(mm)
  12. for jj=1:length(kk)
  13. [Performances(jj,ii,:) normCCostADC(jj,ii), ~, ~] = PQNNSwithADC( kk(jj), mm(ii), nRecall, [0 0 0 0 1])
  14. end
  15. end
  16. %%
  17. for jj=1:length(mm)
  18. figure
  19. for rr=1:length(rat)
  20. plot(normCCostADC(:,jj),Performances(:,jj,rr),'-x'), hold on
  21. end
  22. for ii=1:length(kk)
  23. text(normCCostADC(ii,:)+2e-5,Performances(ii,:,1),sprintf('k=%d',kk(ii)),'interpreter','latex');
  24. end
  25. h=legend('R@1','R@2','R@5','R@10','R@20','R@50','R@100');
  26. set(h,'Interpreter','latex');
  27. grid on; grid minor;
  28. title(sprintf('Product Quantization with ADC - $m=%d$',mm(jj)),'interpreter','latex');
  29. xlabel('Complexity (scaled to Exhaustive NNS)','interpreter','latex');
  30. ylabel('Performances','interpreter','latex');
  31. end
  32. %%
  33. figure