Open suchow opened 4 years ago
Yes, we would be interested to include that functionality. For example, we could add another field called result["predictions_full_stdev"]
to store the matrix (tensor in the general case) of standard deviations.
Are you interested to make a pull request?
I'll give it a try! I'm new to Julia, so this may take a while.
Cool! Let me know if you need any help.
Was #6 closed because it was implemented?
I see that predictions on the test set include both the predicted value
pred
and the standard deviationstdev
.However, the full predictions include only the predicted values themselves, and not the stdev.
I'm looking to assess prediction uncertainty for out-of-sample entity pairs.
My current understanding of how to implement this is to modify
macau.jl
so that in addition to storing the sum over sampled predictions during sampling, like it does on line 146 (https://github.com/jaak-s/BayesianDataFusion.jl/blob/master/src/macau.jl#L146), it would additionally store what's needed to compute variance (basically the sum of squares, though some adjustments are needed for numerical precision https://dl.acm.org/doi/10.1145/3221269.3223036).Is this something you be interested in including, unless it's already available?