ccshan
2019-5-15 17:39:24

I’m not so familiar with VirtualBox but I’ll try to follow those instructions. I suggest @carette do as well.


carette
2019-5-15 17:40:10

Will do - inserted into this afternoon’s “to do” list.


ccshan
2019-5-15 17:43:44

Meanwhile, I’m trying to address the reviewer comment > The diagrams are hard to read. It is not easy to see which curve represents which system. for GmmGibbsAccuracyPlot.rkt. Instead of enlarging the plots, I think it would help more to add markers to the legends (i.e., overlay point and line legends). To do that, I think I want to override flatten-legend-entries (https://github.com/racket/plot/blob/8dcfd7745e2595b8d517fd8cd7c59510efab84a9/plot-lib/plot/private/no-gui/utils.rkt) to coalesce legend entries with the same label (https://github.com/racket/plot/blob/8dcfd7745e2595b8d517fd8cd7c59510efab84a9/plot-lib/plot/private/common/types.rkt). Does @samth or @rjnw know how to override a library function like that? Or have any other advice how to achieve the desired legend effect?


samth
2019-5-15 17:44:17

You can’t override library functions


ccshan
2019-5-15 17:44:31

So like. What do I do


ccshan
2019-5-15 17:44:43

How do I fork a library, say


ccshan
2019-5-15 17:45:42

I mean if you can get hakaru-benchmarks to use its own copy of plot then I can do the rest


ccshan
2019-5-15 17:46:19

(I was hoping for something like overridden-collects in handin)


samth
2019-5-15 17:48:28

I guess my first instinct is that not doing this seems like a better idea than forking plot


samth
2019-5-15 17:49:07

I also don’t understand what you’re suggesting for the legend


samth
2019-5-15 17:49:57

My sense is that the color pallette is not good and picking different ones would help


ccshan
2019-5-15 17:50:25

I changed one line in GmmGibbsAccuracyPlot.rkt to get this:


ccshan
2019-5-15 17:51:04

So I want 4 legend entries, 3 of which have both a line and a point marker


rjnw
2019-5-15 17:52:18

I tried doing what @ccshan is suggesting buy couldn’t find a way. One way would be to manually edit the df through inkscape or something else.


rjnw
2019-5-15 17:52:36

And place those markers on the line


ccshan
2019-5-15 17:54:56

I guess the next thing I’m going to try is to manipulate the curried functions returned by points and lines to merge the legends, possibly using mutable state.


carette
2019-5-15 20:17:10

Ok, I’ve downloaded that .ova file from Google Drive. Where are the instructions I should follow?


carette
2019-5-15 20:17:45

I know nothing about “virtual box” and “appliances”. [Making me a good beta tester]


samth
2019-5-15 20:18:16

you should load the file in virtual box, which you can get from http://virtualbox.org\|virtualbox.org


samth
2019-5-15 20:18:33

(note that the artifact reviewers will be familar with starting VMs in virtual box)


carette
2019-5-15 20:21:28

Working on it.


carette
2019-5-15 20:30:46

Do I need to install the networking feature of virtual box?


samth
2019-5-15 20:33:04

you shouldn’t need to


carette
2019-5-15 20:34:26

Good - as I don’t want it to mess up my VPN. I believe I installed this software N years ago, and it did.


carette
2019-5-15 20:50:26

Ok, I managed to install it, both VirtualBox and hakaru-ubuntu inside it. When I try to start it, I get the error Not in a hypervisor partition (HVP=0) (VERR_NEM_NOT_AVAILABLE). VT-x is disabled in the BIOS for all CPU modes (VERR_VMX_MSR_ALL_VMX_DISABLED).


carette
2019-5-15 20:52:02

I guess I need to reboot and enable that. Hate rebooting when I have a gazillion tabs open, once in a while, they all get lost!


carette
2019-5-15 20:55:34

Is that success or failure?


carette
2019-5-15 20:55:54

[Also, did you see the DM I sent you?]


carette
2019-5-15 21:17:58

There’s something very reminiscent of the histogram transformation in this PLDI’19 paper https://www.cs.toronto.edu/~azadeh/resources/papers/pldi19.pdf (paper was spotted by Jeremy Gibbons as it uses monoid homomorphisms).


ccshan
2019-5-15 22:08:53

Well it keeps printing new messages like Doing iter: 0 / 1 and 'gmm' is up to date so maybe it’s success?


ccshan
2019-5-15 22:09:10

I saw something go by but I can’t find it anymore. Where’s this DM?


ccshan
2019-5-15 22:09:46

Would you like to write some related-work sentences about this paper? Also the GLORE LER paper.


ccshan
2019-5-15 22:12:31

I successfully added point markers to line legends. Now I want to do this for all the plots. But some data to plot seems missing from hakaru-benchmarks: the following commands from Makefile fail: racket NaiveBayesAccuracy.rkt racket NaiveBayesLiklihood.rkt racket LdaLikelihoodPlot.rkt --y-min -4200000 --y-max -4400000 50 ldalikelihood-50.pdf racket LdaLikelihoodPlot.rkt --y-min -4500000 --y-max -4700000 100 ldalikelihood-100.pdf @rjnw If you have the data to plot handy, would you please add them to the repository? Also please let me know if I’m not using the right commands.


carette
2019-5-15 22:14:12

If you’re using the Slack app, then under Channels there’s another menu called Direct Messages. Look under my name.


carette
2019-5-15 22:14:33

It


carette
2019-5-15 22:15:02

’s not really published yet, I don’t think we’re obligated to say anything about these.


ccshan
2019-5-15 22:15:34

The problem is I don’t see your name.


samth
2019-5-15 22:29:47

I think obligation is not the right framework to think about this


carette
2019-5-15 23:04:01

Odd. Let me try sending something again.


carette
2019-5-15 23:04:59

carette
2019-5-15 23:32:19

Indeed. Too long a ‘to do’ list has given me a bad perspective.


carette
2019-5-15 23:33:21

I need to read it carefully to understand if it goes beyond “reminiscent” and is truly related. And, if it is, I will write about it.


rjnw
2019-5-16 04:01:35

unfortunately I didn’t push that data on github because it pretty big (hundreds of MB).