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.6.tar.gz (14.4 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.6-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hiton_ezk-0.0.6.tar.gz
  • Upload date:
  • Size: 14.4 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.6.tar.gz
Algorithm Hash digest
SHA256 ddc0797b053edd849728d0f72a4e46c3c84f4ef0a702d25ff56ac02902a1c036
MD5 e956305533793dccd41b1566caa8ccfa
BLAKE2b-256 cc3d08e26a3bbdafd7cb2c1150b389532e1287036651df357316b3738c4e650d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hiton_ezk-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 21.3 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 3549d7db563f17db2fcd331422996a0763255fbed77a64d6215c1f8c8c9300b3
MD5 793b8068c101acc073e50d65a009e5fb
BLAKE2b-256 347b12f7f57c8e9a787fde01173f2e6a8e715f9ce64abaa8da012705deaf6b6d

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