Skip to main content

MIRA: A Score for Conditional Distribution Accuracy and Model Comparison

Project description

MIRA: A Score for Conditional Distribution Accuracy and Model Comparison

This repository contains the MIRA score implementation.

Overview

MIRA is a score for evaluating conditional distribution accuracy and comparing models. This package provides tools to compute MIRA scores and includes a demonstration notebook showing baseline comparisons.

Installation Instructions

Follow these steps to set up the environment and run the examples:

1. Create and Activate a Conda Environment

conda create -n mira_env python=3.8
conda activate mira_env

2. Install the Package

pip install mira_score

Or, to install from source in editable mode:

git clone https://github.com/SammyS15/mira-score.git
cd mira-score
pip install -e .

This will install the mira_score package along with all required dependencies.

4. Verify Installation

Test that the package is correctly installed:

python3 -c "from mira_score import mira, mira_bootstrap, get_device; print('MIRA successfully installed!')"

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

mira_score-0.1.7.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

mira_score-0.1.7-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file mira_score-0.1.7.tar.gz.

File metadata

  • Download URL: mira_score-0.1.7.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for mira_score-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ba62bc21cf12601d8100b827f356434a594833b913ede7e2861588372b7fc77b
MD5 1e11b933f7ebe720c3078b050419591a
BLAKE2b-256 5b19ff8400c080c161d690160072f0e742c88aeda2e0d09cb9f1d6c6a4acd9e6

See more details on using hashes here.

File details

Details for the file mira_score-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: mira_score-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for mira_score-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 02c795ddeb830c87a8ff3f7bc90a02a383e53c7abb034a487f8179ec82ee9e59
MD5 42bc0a93bf00fbd3f46325ff7e1243d6
BLAKE2b-256 52361475908f6327316bf3612d3f672d4d1fb95de2e664fd9a2c5cff71728fff

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