jaak-s / BayesianDataFusion.jl

Bayesian multi-tensor factorization methods, with side information
Other
29 stars 19 forks source link

Upgrading to Julia 1.x #13

Open suchow opened 4 years ago

suchow commented 4 years ago

I'm opening this issue to begin a conversation about upgrading BayesianDataFusion.jl to be compatible with the most recent version of Julia, 1.x. We've begun upgrading the package on a fork and have succeeded in bringing most it up to date.

I have a few questions for you:

Meta-level questions

Substantive questions

jaak-s commented 4 years ago

Meta

Details

suchow commented 4 years ago

Regarding parallelism, do you have a sense of how much effort would be required to implement parallelism for the general multi-relational plus side-information case?

jaak-s commented 4 years ago

Actually, I think the effort might not be too large at all (unless I've forgotten something). Basically, the algorithm is the same when sampling the latent matrix of one entity, each row can be sampled independently. Thus, one can parallelize over rows. The complexity in the multiple relation case is that for each row one needs to access data from more than one relation. But otherwise the parallelization strategy is the same.