Mechanism-learn is a simple method to deconfound observational data such that any appropriate machine learning model is forced to learn predictive relationships between effects and their causes, despite the potential presence of multiple unknown and unmeasured confounding. The library is compatible with most existing ML deployments. The library is compatible with most existing ML deployments such as models built with Scikit-learn and Keras.
Project description
To run the experiment code, please install the mechanism-learn package using the distribution file 'mechanism_learn-2.2.1-py3-none-any.whl' in the 'dist' folder.
In Python, use: import mechanism_learn.pipeline to import the mechanism learning algorithms.
Please note that due to the limit of file size, we cannot attach all experiment data, such as ICH CT scans and the Background-MNIST data. The original ICH data is available at https://physionet.org/content/ct-ich/1.3.1/. For the Background-MNIST data, it is modified from the original MNIST dataset. This semi-synthetic Background MNIST dataset can be generated by using the Python code file: .\test_data\semi_synthetic_data\semi-synthetic_data_gen.py.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mechanism_learn-2.3.2.tar.gz.
File metadata
- Download URL: mechanism_learn-2.3.2.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f78e25a589ee444d5937fbc7acb08fafd805e3503344cb9a1f90005a4c1d6162
|
|
| MD5 |
e149c37cc41bed9c3de392b097baabc8
|
|
| BLAKE2b-256 |
ce47708d8ae301420356963ca3e32786e8e93474f8d578f8e7c6c6f80f1c0bcd
|
File details
Details for the file mechanism_learn-2.3.2-py3-none-any.whl.
File metadata
- Download URL: mechanism_learn-2.3.2-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.9.23
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e64d3204c024d43ef7f6a5d9a9729227cae6d2c65d41daaaf884f876aa2b03b7
|
|
| MD5 |
51ef945d0821bb6119d9ee39ed51e7dc
|
|
| BLAKE2b-256 |
259677449ea81ccbb28a810ae00bd6f3cc17c5261ad38a76c0aa442d9e5f19fc
|