// $(VARIANT) -nogui -dhrg embedded-graphs/facebook_combined_result -contll -iterate 99 -contll -esave > $@ namespace dhrg { bool is(char *where, const char *what) { while(*where && *what && *where == *what) where++, what++; return !*what; } void ground_truth_test(string s) { logistic cont; vector logliks; vector reps; auto report = [&] (string s, ld val) { logliks.push_back(val); reps.push_back(s); println(hlog, "REPORT ", s, " = ", val); }; if(1) { FILE *f = fopen(("embout/" + s).c_str(), "rb"); char buf[999999]; int siz = fread(buf, 1, 999999, f); for(int i=0; iget_growth()); } }