Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1169

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 1176
8000 GitHub - UCLM-SIMD/consensusBN: consensusBN is a java library for Bayesian Network Fusion based on the works of José M. Puerta, Juan A. Aledo, José A.Gámez and Jorge D. Laborda.
Nothing Special   »   [go: up one dir, main page]

Skip to content

consensusBN is a java library for Bayesian Network Fusion based on the works of José M. Puerta, Juan A. Aledo, José A.Gámez and Jorge D. Laborda.

License

Notifications You must be signed in to change notification settings

UCLM-SIMD/consensusBN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

consensusBN - Bayesian Network Fusion Library

CI Java Maven License

🧠 Overview

consensusBN is a Java-based library for Bayesian Network Fusion. This project allows users to combine multiple Bayesian networks into a single consensus network, leveraging the power of consensus-based modeling techniques. The project is supported by a published paper (link), titled "Efficient and accurate structural fusion of Bayesian networks."

Bayesian Network Fusion

🚀 Features

  • 🔀 Merge multiple Bayesian networks into a single consensus structure.
  • 📄 Support for BIF, XML, JSON formats.
  • ⚙️ Customizable fusion strategies (e.g., Union, BES).
  • 🧪 Includes tests and reproducible examples.

📦 Installation

Requirements

  • Java 17 or higher
  • Maven 3.6 or higher

Installation

You can include consensusBN to your Maven project by adding the following dependency to your pom.xml:

<dependency>
    <groupId>io.github.jlaborda</groupId>
    <artifactId>consensusBN</artifactId>
    <version>v1.0.1</version>
</dependency>

Usage


import es.uclm.i3a.simd.consensusBN.*

public class MyBNFusionApp {
    public static void main(String[] args) {
        // Creating list of shared nodes
        ArrayList<Node> sharedNodes = new ArrayList<>();
        for (int i = 0; i < numVariables; i++) {
            Node node = new GraphNode("Node" + i);
            sharedNodes.add(node);
        }
        // Setting seed
        RandomUtil.getInstance().setSeed(42);

        // Generating random DAGs
        for (int i = 0; i < sizeRandomDags; i++) {
            Dag randomDag = RandomGraph.randomDag(sharedNodes,0,50,19,19,19,true);
            randomDagsList.add(randomDag);
        }
        
        // Applying ConsensusUnion
        ConsensusUnion conDag = new ConsensusUnion(randomDagsList);
        ConsensusBES conBES = new ConsensusBES(randomDagsList);
        Graph gUnion = conDag.union();
        Graph gBES = conBES.fusion();

        System.out.println("Union: \n" + gUnion);
        System.out.println("BES: \n" + gUnion);
    }
}

📚 Documentation

Documentation will be available soon in the Documentation directory. Stay tuned for:

  • API reference
  • Use-case examples
  • Integration tips

🤝 Contributing

We welcome contributions! If you'd like to contribute to consensusBN, please follow our Contribution Guidelines.

📖 How to Cite

If you use consensusBN in your research, please cite our publication:

@article{PUERTA2021155,
title = {Efficient and accurate structural fusion of Bayesian networks},
journal = {Information Fusion},
volume = {66},
pages = {155-169},
year = {2021},
issn = {1566-2535},
doi = {https://doi.org/10.1016/j.inffus.2020.09.003},
url = {https://www.sciencedirect.com/science/article/pii/S156625352030364X},
author = {José M. Puerta and Juan A. Aledo and José A. Gámez and Jorge D. Laborda},
keywords = {Bayesian networks, Aggregation, Fusion, Consensus, Heuristic orders}
}

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

🙌 Acknowledgments

  • The authors of the original paper: José Miguel Puerta, Juan Ángel Aledo, José Antonio Gámez and Jorge D. Laborda
  • Tetrad project

Contact

For questions, suggestions, or feedback, please create an issue.

About

consensusBN is a java library for Bayesian Network Fusion based on the works of José M. Puerta, Juan A. Aledo, José A.Gámez and Jorge D. Laborda.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0