Releases: erdogant/bnlearn
Releases · erdogant/bnlearn
0.4.0
- Included fixed_edges when using
methodtype='hc'
- Changed the bw_list_method for clarity.
- bw_list_method='enforce' into bw_list_method='edges'
- bw_list_method='filter' into bw_list_method='nodes'
- Some docstring updates
- Some code cleaning
Note that bw_list_method='nodes'
works for all methodtypes and bw_list_method='edges'
only when methodtype='hc'
0.3.22
- Added new tree search based structure learning method: Tree-augmented Naive Bayes (TAN)
Example
import bnlearn as bn
df = bn.import_example()
# Structure learning with TAN
model = bn.structure_learning.fit(df, methodtype='tan', root_node='Cloudy', class_node='Rain')
bn.plot(model)
0.3.21
0.3.20
- Functionally added to make predictions on dataset with the predict function #17
- Predict examples can be found in the readme and sphinx pages: https://erdogant.github.io/bnlearn/pages/html/Predict.html
- Functionally added that outputs a dataframe with the results for the inference that is made (query2df)
- Included some exceptions to catch errors
- Fixed circular imports
- Unit test updated for the new functions
- Some docstrings updated
- Some code refactoring and cleaning
0.3.19
- New functionality added: topological sorting of the DAG.
- Example of usage: https://erdogant.github.io/bnlearn/pages/html/topological_sort.html