thanks for the help! Coming from Matlab data types and binary files had
never been a concern... it was about time I learned how to do this!
I was able to complete the Julia wrapper for Barnes Huts t-sne, and I will
put it on github :)
Next up: plotting the results ;)
On Wednesday, September 21, 2016 at 1:06:55 AM UTC+1, Steven G. Johnson
> On Tuesday, September 20, 2016 at 3:46:47 PM UTC-4, Dennis Eckmeier wrote:
>> So, I tried this, but the data are still not stored as the Matlab code
>> (first post) would do it...
>> function write_data(X, no_dims, theta, perplexity)
>> n, d = size(X)
>> A = write(h, hton(n), hton(d), hton(theta), hton(perplexity),
> Note that integers are 64 bit by default on Julia, so these are writing
> 64-bit values. From your Matlab code, it seems like you need 32-bit
> (4-byte) values for your integers. Just convert them to Int32 or UInt32
> first, e.g. hton(UInt32(n))