desmarais-lab / NetworkInference

R implementation to the netinf algorithm. Infers the most likely diffusion network from a set of events
Other
23 stars 1 forks source link

Return final parameter values #44

Closed flinder closed 6 years ago

flinder commented 6 years ago

Currently, the final parameter values (after the approximate profile MLE) are just printed, we need to return them somehow. This might require changing the output of netinf().

bdesmarais commented 6 years ago

I agree. We should return the parameter values as part of the object, as well as the number of iterations to convergence.

On Sat, Feb 24, 2018 at 8:45 AM Fridolin Linder notifications@github.com wrote:

Currently, the final parameter values (after the approximate profile MLE) are just printed, we need to return them somehow. This might require changing the output of netinf().

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/desmarais-lab/NetworkInference/issues/44, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYXKWMKq5gJuSUeaQT8rZZIty0gSUbEks5tYBJogaJpZM4SR5ZI .

--

Bruce A. Desmarais Associate Professor, Department of Political Science Director, Graduate Programs in Social Data Analytics Pennsylvania State University brucedesmarais.com

flinder commented 6 years ago

That was easier than expected. I just added the data as attributes to the resulting data.frame. See the netinf documentation in the value section for details