Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rusty-axe-bbrener1-0.67.tar.gz (73.7 kB view details)

Uploaded Source

Built Distribution

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

rusty_axe_bbrener1-0.67-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file rusty-axe-bbrener1-0.67.tar.gz.

File metadata

  • Download URL: rusty-axe-bbrener1-0.67.tar.gz
  • Upload date:
  • Size: 73.7 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

Hashes for rusty-axe-bbrener1-0.67.tar.gz
Algorithm Hash digest
SHA256 eb98558f35ee17d8db48c2048c5018f064d9c65946872bc0a3b6d7a9a91eb885
MD5 6cb1d17d68be59b6df60963a81a74ba7
BLAKE2b-256 8aebfa4bd51d3dfca8620528c6ffa7dbf5ab751dba5c908ffff2b93ff9b1ec2a

See more details on using hashes here.

File details

Details for the file rusty_axe_bbrener1-0.67-py3-none-any.whl.

File metadata

  • Download URL: rusty_axe_bbrener1-0.67-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

Hashes for rusty_axe_bbrener1-0.67-py3-none-any.whl
Algorithm Hash digest
SHA256 0dd20530898e3ef9049e705ea190df05ac2049b53ff7eab5ad1c95222e302672
MD5 57a3e2cf40f885a0495f6c58513cb6e1
BLAKE2b-256 7431e49c73a89559a0b3fd588a427cb0091695560876e19f414a7c8f696a9174

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