Skip to content

Latest commit

 

History

History

python-correlation-heatmap

CHUV DockerHub ImageVersion ImageLayers

Python Correlation Heatmap

Calculate correlation heatmap, only works for real variables.

You can run it on single node with compute and env variable MODEL_PARAM_graph=correlation_heatmap.

  1. compute

Or in a distributed mode with

  1. compute --mode intermediate
  2. compute --mode aggregate --job-ids 1 2 3

Intermediate mode calculates covariance matrix from a single node, while aggregate mode is used after intermediate to combine statistics from multiple jobs and produce the final graph.

Python Distributed PCA

Calculate PCA and return biplot visualization and screeplot. It only works for real variables.

You can run it on single node with compute and env variable MODEL_PARAM_graph=pca.

  1. compute

Or in a distributed mode with

  1. compute --mode intermediate
  2. compute --mode aggregate --job-ids 1 2 3

Build (for contributors)

Run: ./build.sh

Integration Test (for contributors)

Run: captain test

Publish (for contributors)

Run: ./publish.sh

Unit tests (for contributors)

Run unit tests

find . -name \*.pyc -delete
(cd tests; docker-compose run test_suite -x --ff --capture=no)