FenTechSolutions / CausalDiscoveryToolbox

Package for causal inference in graphs and in the pairwise settings. Tools for graph structure recovery and dependencies are included.
https://fentechsolutions.github.io/CausalDiscoveryToolbox/html/index.html
MIT License
1.09k stars 199 forks source link

CGNN Module : unexpected argument (nb_runs,nb_max_runs, etc) #10

Closed conrev closed 5 years ago

conrev commented 5 years ago

When i tried to run the example, this line Cgnn.predict(data, graph=ugraph, nb_runs=12, nb_max_runs=20, train_epochs=1500, test_epochs=1000) Produces an unexpected argument error, is there any changes in the CGNN module that causes this? i tried investigating the module but i cant seem to figure out why this happens. Is this reproducible in your machine?

diviyank commented 5 years ago

Hi, Whoops, yes I forgot to update the example ; the argument nb_max_runs is deprecated. Removing it should work Best, Diviyan

diviyank commented 5 years ago

Feel free to close the issue if the problem is solved !

conrev commented 5 years ago

Thank you for the quick response!