Skip to main content

Interactive Polar Diagrams for Model Comparison

Project description

Polar Diagrams for Model Comparison

GitHub Test Status GitHub Build Status GitHub Publish GitHub Issues PyPI - License PyPI

Manuscript

This library is created for the following paper:

"Interactive Polar Diagrams for Model Comparison" by Aleksandar Anžel, Dominik Heider, and Georges Hattab

Please cite the paper as:

Bibtex citation placeholder

Abstract:

Abstract placeholder

Dependencies

The code is written in Python 3.9.15 and tested on Linux with the following libraries installed:

Library Version
numpy 1.23.5
pandas 1.5.2
scikit-learn 1.2.0
scipy 1.9.3
plotly 5.9.0
kaleido 0.2.1

The dependencies can also be found in requirements.txt.

Data

Location Description
Data/ contains all datasets used in Source/main.ipynb.
Data/Dataset_0/ contains the Anscombe's quartet data set and the Datasaurus data set.
Data/Dataset_1/ contains the official, automatically generated script for downloading the CMIP3 data from the https://esgf-node.llnl.gov/projects/cmip3/. To generate the whole data set, the user should first place itself into this directory and then run the following command from the terminal sh generate_dataset_1.sh. [1]
Data/Dataset_2/ contains the data set from the subsection 3.2 Example 2 — Machine Learning Model Evaluation of our paper.
Data/Dataset_3/ contains the data set from the subsection 3.3 Example 3 — Biomedical Similarity Assertion of our paper.

[1] The script used for downloading the Dataset_1/ was generated using the tutorial found here https://esgf.github.io/esgf-user-support/faq.html#how-to-preserve-the-directory-structure. Script can be automatically generated and downloaded again from here https://esgf-data.dkrz.de/esg-search/wget?download_structure=model&project=CMIP3&experiment=historical&ensemble=run1&variable=ts.

Code

Source Code Description
Source/ contains all source scripts.
Source/main.ipynb contains the IPython (jupyter) notebook that demonstrates the library using multiple datasets. This notebook reproduces all of the results we presented in our paper.
Source/polar_diagrams/ contains the source code of our library.
Source/polar_diagrams/src/polar_diagrams.py contains the source code that imports the data, modifies it, calculates statistical and information theory properties, and builds diagrams.
Source/polar_diagrams/tests/test.py contains the source code for all unit tests.

Getting started

The Scalar Feature

Scalar feature

Interactive aspects

Tooltip

Installation

Stable

We recommend installing the library using pip:

pip install polar-diagrams

Unstable

cd ./Source/polar_diagrams/
pip install --editable .

Running

Please check the API documentation of our library at Source/polar_diagrams/docs/polar_diagrams.md or the IPython (jupyter) notebook that demonstrates the library at Source/main.ipynb.

License

Licensed under the GNU General Public License, Version 3.0 (LICENSE or https://www.gnu.org/licenses/gpl-3.0.en.html)

Contribution

Any contribution intentionally submitted for inclusion in the work by you, shall be licensed under the GNU GPLv3.

Download files

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

Source Distribution

polar_diagrams-1.0.2.tar.gz (17.2 kB view details)

Uploaded Source

Built Distribution

polar_diagrams-1.0.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file polar_diagrams-1.0.2.tar.gz.

File metadata

  • Download URL: polar_diagrams-1.0.2.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for polar_diagrams-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d773cd1b30f44cea5ee94bf1a95d6af82884aa2ec0f24ec479af22d9a3b031b2
MD5 94182aea6fd8d23f504bfbce12d5bfa7
BLAKE2b-256 7acbd412cddb6168e3bc52484839d3c1817eecb5b07528ca3e49ead174f40fc6

See more details on using hashes here.

File details

Details for the file polar_diagrams-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for polar_diagrams-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 611d07ecd74960cbe0d25b6a4413f524bcb8cb35795fda14ca0d88d362ab6fb9
MD5 b338d3e8d8e0a02236b3342049a91788
BLAKE2b-256 2da423d279c31e102a8f1e1a99536fd70183560aca09789b39ce815834e65581

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page