Closed FedericoCinus closed 5 years ago
In __main__.py
, there should be a structure where the network model, the topic model are created with their constructor, then used as input to create the diffusion model, which is then finally used through a run()
method to generate the propagation. At the moment, all those flows are hidden behind saving and loading temporary files in paths known internally within these object, which is slow and makes debugging and maintaining much harder.
Done in commit 76a623bfb65f2f7661bd6f56e513eb9add397dd5
So since temporary files are not used anymore the Hidden_
hack is now not needed, correct?
No. The Hidden_ keyword is used in save_modelattr() in order to avoid saving (in txt files) the not necessary attributes. The Hidden keyword can be removed after issue #20 completion. What I have just done is deleting the save_model_class() method which was generating the temporary file of the all class with a pickle file; so now what is not needed is the cleaning() method. I am going to check and remove it.
Put network model and topic model as input of diffusion model