Learning Bayesian Belief Networks with LASSO
Project description
LASSO BBN
Learning Bayesian Belief Networks (BBNs) with LASSO. Example code is as below.
import pandas as pd
from lassobbn.learn import do_learn
df = pd.read_csv('./path/to/data.csv')
bbn_specs = do_learn(df)
print(bbn_specs)
You can then use Py-BBN to create a BBN and join tree (JT) instance and perform exact inference.
Installation
pip install lassobbn
Links
Additional APIs
turing_bbn | pyspark-bbn |
---|---|
- turing_bbn is a C++17 implementation of py-bbn; take your causal and probabilistic inferences to the next computing level!
- pyspark-bbn is a is a scalable, massively parallel processing MPP framework for learning structures and parameters of Bayesian Belief Networks BBNs using Apache Spark.
Citation
@misc{alemi_2021,
title={lassobbn},
url={https://lassobbn.oneoffcoder.com/},
author={F. Alemi, J. Vang},
year={2021},
month={Aug}}
Copyright Stuff
Software
Copyright 2021 Farrokh Alemi and Jee Vang
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Art Copyright
Copyright 2021 Daytchia Vang
Sponsor, Love
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
lassobbn-0.0.2.tar.gz
(5.3 kB
view hashes)