Skip to main content

A Markov chain Monte-Carlo for graph inference.

Project description

fast-midynet

Framework for graph inference.

Test Test

Installation

Requirements

  • pybind11
  • scikit-build
  • numpy
  • scipy
  • networkx
  • pandas
  • pytest

Installation with pip

You can use pip to install the python module:

pip install .

Note that the basegraph must be installed. You can either download it and install it yourself, or you can load the submodules and install it directly from the repository:

git submodule --init
pip install ext/base_graph

Build the C++ library

TO build the C++ library, we use cmake. First, we must set up the CMake environment. From the root directory (i.e., where the root file CMakeFile.txt is located), run the following command:

cmake -S . -B build 

This commands build the necessary scripts for building the library. To set up the environment for building the C++ unit tests as well, set the BUILD_TEST argument to ON:

cmake -S . -B build -DBUILD_TESTS=ON -Wno-dev

Finally, build the C++ library by running the following command:

cmake --build build -j4

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphinf-0.3.1.tar.gz (291.1 kB view hashes)

Uploaded Source

Built Distribution

graphinf-0.3.1-cp310-cp310-manylinux_2_35_x86_64.whl (926.5 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.35+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page