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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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