Random Forest Latent Structure (Biology)
Project description
Rusty Axe
Analyzing nested structure in data using unsupervised random forests.
This package is intended to interface with one or two numpy matrices of a large size (>100 samples, >10 features), and decomposes said matrices into random forest factors (RFFs) that describe different effects at different levels of nesting and non-linear dependency. It generates HTML reports that describe the underlying data, and can also generate other kinds of feedback. This package additionally can train on one dataset and compare that dataset to another.
This package is currently intended to be run on linux or osx. This package may funciton on windows but no guarantees are made.
This tool is very much a work in progress, please send feedback, positive or negative, to bbrener1@jhu.edu or by opening an issue here! I want to hear how to make this tool more useable and intuitive, and also which parts are helpful.
Publlication
A more complete description of this approach to understanding data is available in the form of a publication: https://www.biorxiv.org/content/10.1101/2021.09.13.460168v1
Install by invoking
pip install rusty_axe_bbrener1
Tutorial
A tutorial is available within this repo in the form of an ipython notebook.
Please consult this tutorial or any of the notebooks used to generate the figures of the accompanying paper.
Building From Source
Optionally, you may wish to build this package from source (although installing via pypi is probably preferred) In order to build this package from source you will need the rust compiler. It is easily obtained
Obtaining Rust
A rust compiler can be obtained and silently installed by executing
curl https://sh.rustup.rs -sSf | sh -s -- -y
If you wish to alter any aspect of the rust compiler defaults, you can execute
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
or simply check the current recommendations at https://www.rust-lang.org/tools/install
Building the package and inserting it into the python path
After you've obtained the rust compiler I recommend you build using
python -m build
in a cloned repo and then install via
pip install dist/<tarball>
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 rusty-axe-bbrener1-0.68.tar.gz.
File metadata
- Download URL: rusty-axe-bbrener1-0.68.tar.gz
- Upload date:
- Size: 73.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5033b5c987af3c670db853161e2ff0fd47f3bba31fef28466d8adeac2c82ec90
|
|
| MD5 |
1737e75a6b04ced457437201c7c0e137
|
|
| BLAKE2b-256 |
d399d88f823fc1bfdaa2c1187ef96a3f3d9617e498c947a3e7e7dc5017dfc288
|
File details
Details for the file rusty_axe_bbrener1-0.68-py3-none-any.whl.
File metadata
- Download URL: rusty_axe_bbrener1-0.68-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf6d3d9d36ced46bb8d6dd477303a3bd87800ecc7322dbbdfe6982a7e5106696
|
|
| MD5 |
8ded95a848446aa0a8460c054bad43e2
|
|
| BLAKE2b-256 |
2e3779b012fcdf9069c2b2e46885529a736d351e8243658920a986e4abada76c
|