项目作者: eug

项目描述 :
Bayes Network Demo
高级语言: Python
项目地址: git://github.com/eug/bayesnet.git
创建时间: 2018-06-04T15:54:17Z
项目社区:https://github.com/eug/bayesnet

开源协议:MIT License

下载


bayesnet

Bayes Network Demo

Disclaimer

This project is a simplistic implementation of Bayes Network for learning purposes. It is compatible with pandas.DataFrame but has the limitation that all columns from the dataset must be categorical (casted as integers e.g. input/cmc_train.csv).

Help

  1. Usage:
  2. python main.py --predict
  3. python main.py -p wifes_age_1 -c husbands_occ_1,sol_4 -s 1000
  4. Options:
  5. --predict Perform predictions on test dataset
  6. -s --samples=INT When specified set the number of samples for Likelihood Weighting
  7. -p --prob=Event Hypothesis event
  8. -c --cond=[<Event1>,...] List of evidencies
  9. -h --help Print this message