Enderlogic / MMHC-Python

An implementation of MMHC in python
13 stars 4 forks source link

Where to get the input dataset with JSON #2

Open jarrarhaider opened 3 years ago

jarrarhaider commented 3 years ago

Where can the datasets be found like the ones you have provided in the input folder as I am interested to see how does MMHC handles larger datasets

Enderlogic commented 3 years ago

You can find more datasets in Bayses repository http://bayesian-ai.eecs.qmul.ac.uk/bayesys/ or Bnlearn repository https://www.bnlearn.com/bnrepository/. The former one provides both data and model and the later one provides model only. But the models in both of the two repositories are not in the format as in this code. You need to transfer them into correct formats if you want to evaluate the results.

jarrarhaider commented 3 years ago

This is what I wanted to know. How to convert the models into correct format?

Enderlogic commented 3 years ago

I just uploaded a new version of this code so now you can directly use the ".rds" files provided in bnlearn repository to generate datasets and evaluate the results.