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.5.tar.gz (14.3 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.5-py3-none-any.whl (19.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hiton_ezk-0.0.5.tar.gz
  • Upload date:
  • Size: 14.3 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.5.tar.gz
Algorithm Hash digest
SHA256 89689673a79c58b88251a5426437511681ad333d0e1dd4d6cc1c18ffae5dd1e7
MD5 a6eb3ac52eb9fcb81f945115cf6c1954
BLAKE2b-256 a7c0fe7df6f15103b4d809797c7690d7727b9ff1eb18c750be389b7f97418682

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hiton_ezk-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 19.9 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e0c0186103545d0988b8e4ca5773661174b7ee436672f3ecd12fbeb99186d871
MD5 7956ddf3d601795485def495098cce4a
BLAKE2b-256 a6a6b777f02452f00d4e62c69c4ee6b9d4b909855015938fbee3326a50fc6282

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