Skip to main content

FastEMC

Fast Exponential Monte Carlo

FastEMC is a method for dimensionality reduction. FastEMC was designed for datasets with a small number of samples, and a large number of features. This version of FastEMC can only handle numerical features, and binary classification of samples. FastEMC can be installed using pip

$ pip install fastemc

If pip fails on windows try installing scikit-learn manually using conda, then install fastemc using pip. You can interact with FastEMC directly using the python module

>>> import fastemc
>>> scores, clusters = fastemc.run(features, labels, **kwargs)

or through the command line

$ python -m fastemc --features features.csv --labels labels.csv

The features.csv and labels.csv files can be generated using pandas, e.g.,

>>> labels.to_csv("labels.csv")
>>> features.to_csv("features.csv")

where labels and features are pandas dataframes with the same index.

FastEMC outputs a list of feature clusters. The size of each cluster and the number of clusters to collect are optional parameters. Each cluster is also given a score. The score is based on k-fold cross-validation of a logistic regression classifier using only features in the cluster.

When using FastEMC in published works, please cite the original manuscript and the author of the software:

[1] Stackhouse, C.T.; Rowland, J.R.; Shevin, R.S.; Singh, R.; Gillespie, G.Y.; Willey, C.D. A Novel Assay for Profiling GBM Cancer Model Heterogeneity and Drug Screening. Cells 2019, 8, 702. (https://www.ncbi.nlm.nih.gov/pubmed/31336733)

[2] Rowland, J.R. FastEMC. 2019. (https://github.com/rowland-208/fastemc)

Download files

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

Source Distribution

fastemc-0.0.6.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

fastemc-0.0.6-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastemc-0.0.6.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.5.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for fastemc-0.0.6.tar.gz
Algorithm Hash digest
SHA256 bf675ca9bc758824805f3885d5b016b67c9e7eb02012f928b03fead2c564393b
MD5 5d104f394eeca1e8f3dccdfefd4026ab
BLAKE2b-256 546f262810c7c8f202578db3e384aeb5b8ca1af250ca25ffb8e0808fef9cf30f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fastemc-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.5.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for fastemc-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b87211c3a7272f847ead470202c0221cec9061dee94daf361bff8147c68f843d
MD5 aca6714a664f9f8eda39b9e9df405056
BLAKE2b-256 020684801697d7b4eb111e08e333892283b4d3510e482937b46ca291326fb059

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 files

0.0.5

2 files

0.0.4

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page