Skip to main content

Algorithms for constructing causal networks for simulated data

Project description

README.md

This package is designed to infer the causal structure of a complex simulated environment utilizing the HITON-EZK algorithm.

Parameters for executing the algorithm (number N, N1, N2 of samples drawn at various steps; threshold for on c_ij^K for causal dependence, etc.) are stored in a dictionary and passed into the hiton or hiton_iterator functions as the params keyword argument. This also contains a dictionary under the key sampler_params which holds the information needed to execute a simulation, or perturb a system state, and will depend on the simulation function (stored in params['sampling_params']['simulator']) the user provides.

The simulation of interest must be packaged in a function simulator so that we can generate simulation output by a call of the form simulator(**kwargs) with kwargs a dictionary of inputs. The simulator function is assigned to the key value simulator in params['sampler_params']

In this version the package only supports single target variable testing, so questions of whether agent j is influencing agent i must be expressed as Does the collection of variables describing agent j have a statistical effect on the single variable x of agent i?'' The choice of variable x is made in params['sampling_params']['target_variable']. Of course, in some applications the response variable may not be one-dimensional; in a future update this will be supported, allowing us to rephrase the above question as Does the collection of agent j's variables have a statistical influence on any one of the variables defining agent i?''

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

hiton_ezk-0.0.7.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hiton_ezk-0.0.7-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

File details

Details for the file hiton_ezk-0.0.7.tar.gz.

File metadata

  • Download URL: hiton_ezk-0.0.7.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.5

File hashes

Hashes for hiton_ezk-0.0.7.tar.gz
Algorithm Hash digest
SHA256 3fc88c970e68959011cbf7a3e1473f1391d8d259bb9a0cd3698f725d6eb24a9c
MD5 af89bcb7e9836f82af0f345017af286b
BLAKE2b-256 8e26762f0551cbd52871ca3e168569eeb6452590bbebd198891b7cc66fc2eed6

See more details on using hashes here.

File details

Details for the file hiton_ezk-0.0.7-py3-none-any.whl.

File metadata

  • Download URL: hiton_ezk-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 22.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.7.5

File hashes

Hashes for hiton_ezk-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 749d320adf3426ea021eaf0f688c67501d44aa7fcfccc03a4219de7791b40306
MD5 15ca3ab2c96689a3f4ab2ccf0f8348d9
BLAKE2b-256 594e01ab0a5a44c493371a66a9f1fb6271e5010d97647d9bbafa244f1bdac590

See more details on using hashes here.

Supported by

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