Skip to main content

Instance Space Analysis Python package

Project description

PyISpace

Python Instance Space Analysis Toolkit

Getting Started

This is the Python version of the Instance Space Analysis (ISA) toolkit, originally written in Matlab code. The original ISA toolkit was developed as part of the project MATILDA, at the University of Melbourne, Australia.

PyISpace is a Python package that contains a subset of the tools present in the original Matlab code repository. It is not our intention to add new features to the toolkit. For a complete experience of all tools, we recommend the original code, or the web version.

Requirements

Python 3.7 or newer.

Installation

Via PyPi:

pip install pyispace

Or directly from the repository code:

git clone https://gitlab.com/ita-ml/pyispace.git
cd pyispace/
pip install -e .

Usage

  1. Command Line Interface

Inside the folder (rootdir) containing the required files options.json and metadata.csv, run

isa

Optionally, the rootdir path may be passed with -r or --rootdir:

isa -r /Users/user/workspace/

For more information about these files, please refer to the original repository instructions.

  1. Python package
from pyispace import train_is
model = train_is(metadata, opts)

Disabling messages

PyISpace uses logging to display messages. You can disable the messages, for example, changing the level associated to the package:

logging.getLogger("pyispace").setLevel(logging.ERROR)

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

pyispace-0.3.7.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

pyispace-0.3.7-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file pyispace-0.3.7.tar.gz.

File metadata

  • Download URL: pyispace-0.3.7.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for pyispace-0.3.7.tar.gz
Algorithm Hash digest
SHA256 94f917e563c2705b9d90a069525a8179df64febf4a5a03d06fb2d4875ef1024f
MD5 d6c4d30a0ff5ad2ef13e2cb273a9f99d
BLAKE2b-256 fc2a8fdec77ca1da3b99e456270305e63c69105c6bc728dc669490194683e18e

See more details on using hashes here.

Provenance

File details

Details for the file pyispace-0.3.7-py3-none-any.whl.

File metadata

  • Download URL: pyispace-0.3.7-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for pyispace-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 a5d911c1e6c0038def03e6f9e0576d74cb7f3e055d7e0df3b944d069499c4f4c
MD5 27b2eb40ed3ca142773e2b0a081b6aee
BLAKE2b-256 b3f78938df252186d2da95f7b5a45577a79c0134f8c635e1ab56af85292e9509

See more details on using hashes here.

Provenance

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