elbamos
elbamos
I'm seeing something that I suspect is related. I run `JSD` in a loop, each time generating a 500x500 matrix of distances. After the loop completes, within about 30 seconds...
No problem :) BTW - you know in C you can refer to a function by a pointer. If you did that with `custom_log`, it would probably simplify a lot...
@HajkD I can take a look this weekend. I can also tell you that, to solve my issue, I cut-and-pasted the JS function and DistMatrixWithUnitMAT() into another file and took...
@HajkD Sorry I haven't had a chance to test the new code yet; I had extracted the relevant code into a separate file and I've been using that. In terms...
Also, you can buy a performance improvement in the loops with: ``` for (int i = 0; i < ncols; i++){ const vec& vec_i = dists.col(i); # You don't need...
The function pointer idea works even better if you do the if..then in the exported function and pass the function pointer as a parameter to all of your distance functions....
BTW - it shouldn't be terribly hard to get this working with OpenMP. I put an hour or two into it but kept getting seg faults and don't have the...
I'm seeing this as well. It isn't detecting the mono framework. @OGuggenbuehl Did you find any solution?
I was able to workaround this by calling `mp.set_start_method('fork')` before `main()` in the example scripts.
Do your versions match? This definitely used to work on OS X/rstudio, at least it did around 2.17/18. > On Aug 11, 2020, at 5:28 PM, bgoodri wrote: > >...