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.5.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

pyispace-0.3.5-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pyispace-0.3.5.tar.gz
Algorithm Hash digest
SHA256 764bdf9a12b6439cee428315f2d83752dfb3cb9440f0e2c2bd79e165cb228bee
MD5 fdefee25ee42eb8ac25bdefe123320ab
BLAKE2b-256 f2b2104b15768af047ad14057b222ff92bdb6dc5e50c15b0c3601305d59a41a8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyispace-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 ddc87507cf52d741e562f4dab3ec50d723397448e072ca9d945c8acd28ea9928
MD5 28ea247da8049f5a3d6e2babb6ad74b8
BLAKE2b-256 e45b673fbff1cc8a4cec79d33e9d1c6def7dbad7a0fb81e4635e69c9dc4f5a21

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