rjnw
2019-2-27 14:50:06
~/w/h/o/cmdstan-2.18.1 > ./classify.px ../../input/GmmGibbs/50-10000
Can't exec "./gmm": No such file or directory at ./classify.px line 37, <> line 1.
Died at ./classify.px line 37, <> line 1.

rjnw
2019-2-27 14:50:23

I tried stanc on gmm.stan but that just gives me a cpp file


ccshan
2019-2-27 14:52:13

Hey. Say make gmm instead of anything mentioning stanc. I’m in Luddy 3115 btw.


ccshan
2019-2-27 14:52:48

(I see you’ve downloaded STAN, and please make sure you keep the two files I patched)


ccshan
2019-2-27 14:52:57

Thanks!!!


rjnw
2019-2-27 14:53:33

make gmm works


ccshan
2019-2-27 14:55:44

Yay!!


rjnw
2019-2-27 15:44:48

is it possible to make stan run until 10 seconds and minimum 40 trials?


rjnw
2019-2-27 15:45:35

there is a lot of variation, for plotting we mean across trials but stan is weird


rjnw
2019-2-27 15:45:52

sometimes it runs around 40 trials and sometimes only 10


rjnw
2019-2-27 15:46:31

for example: 0.0824637110000001 1 [0.402976898613895] 0.122636635 2 [0.402976898613895] 0.163189989 3 [0.402976898613895] 0.245272901 4 [0.402976898613895] 0.327615521 5 [0.402976898613895] 0.488534931 6 [0.404432580446774] 0.653543113 7 [0.404480626387967] 0.814336181 8 [0.395560172097108] 0.975607016 9 [0.397165642884747] 21.492779457 10 [0.372059883874268]


rjnw
2019-2-27 15:49:46

gmm 50 – 10000 with stan


ccshan
2019-2-27 15:49:54

Right now it stops at the first sample after 10 seconds. If we need more (why?), we can definitely change it - it’s in one of the two files I patched - there’s an if (sec > 10) that you should add \|\|… to


ccshan
2019-2-27 15:50:24

You’re saying that it sometimes stops before 10 seconds!


rjnw
2019-2-27 15:50:53

no it less number of sweeps for some trials


rjnw
2019-2-27 15:51:13

*it has


rjnw
2019-2-27 15:51:37

if you look at the plot it has a lot of variance at the end


ccshan
2019-2-27 15:51:57

Are you around in Luddy?


rjnw
2019-2-27 15:52:05

no I can be


ccshan
2019-2-27 15:52:18

Call me at


samth
2019-2-27 15:53:21

@rjnw it would be good to come in this afternoon


rjnw
2019-2-27 15:59:33

okay I will check in the plots and then come


ccshan
2019-2-27 16:55:25

I just added linear interpolation to classify.px


rjnw
2019-2-27 17:09:58

@ccshan I don’t see any commits


ccshan
2019-2-27 17:21:37

@rjnw Oops sorry, I just pushed


rjnw
2019-2-27 17:37:13

samth
2019-2-27 18:24:08

if we run stan for longer, does it catch hakaru?


ccshan
2019-2-27 18:26:03

Good question - can be answered by changing several occurrences of 10 in C++ and Perl code :flushed:


samth
2019-2-27 18:28:09

the stan code is a significantly different algorithm than any of the others, right?


ccshan
2019-2-27 18:30:21

Yes


rjnw
2019-2-27 18:30:36

I will try running it for 20


samth
2019-2-27 18:33:43

are there other different properties for the algorithm that matter in other contexts/measurements/etc?


ccshan
2019-2-27 18:41:12

Um. There are lots of differences…


rjnw
2019-2-27 18:48:45

rjnw
2019-2-27 18:50:00

I changed the generate_transitions to throw error at 20 and classify to range over 2048 ticks


ccshan
2019-2-27 19:31:04

I wonder if it’d be too much trouble to re-run the other systems over 20 seconds though…


samth
2019-2-27 19:31:39

for jags it might take a while


samth
2019-2-27 19:32:51

@ccshan are you in luddy?


ccshan
2019-2-28 01:25:04

@rjnw Have you been running STAN GMM experiments? I just remembered that we should measure the (significant) compile time and (negligible but measurable) startup time of STAN.


ccshan
2019-2-28 01:25:33

We still have 2.5 pages of room!


rjnw
2019-2-28 01:26:58

I was at school writing I just got back, I will run it now


rjnw
2019-2-28 01:27:20

STAN I already have for 20seconds I just need to run the rest of them


ccshan
2019-2-28 01:34:23

Ok, so to measure the compile time, it’s literally for ((i=0; i<10; i++)) do time sh -c "rm -f gmm.hpp gmm; make gmm"; done


ccshan
2019-2-28 01:36:05

(you can just email me the output) and let me work out how to measure the startup time…


ccshan
2019-2-28 01:36:09

By the way, when you make the new GMM plots, would you please make sure that the shading is not cut off at the top (like the Hakaru curve currently is in the first plot, n=10000, m=50, above 40% accuracy)?


samth
2019-2-28 03:46:46

the new intro is good, and the new portion of section 3 is really good


rjnw
2019-2-28 03:55:15

I just pushed new plots in the benchmarks repo, I also commited the accuracy files so now anyone can build the plots again with:


rjnw
2019-2-28 03:55:19

racket GmmGibbsAccuracyPlot.rkt --x-max 20 --y-min 20 --y-max 45 --height 300 --width 700 50 10000 "gmm-50-10000.pdf"


rjnw
2019-2-28 03:55:27

inside the output folder


ccshan
2019-2-28 04:43:53

That’s great because I easily changed the size and font :slightly_smiling_face: