Skip to main content

Predict: a Radiomics Extensive D.... Interchangable Classification Toolkit.

Project description

This is an open-source python package supporting Radiomics medical image feature extraction and classification.

We aim to add a wide variety of features and classifiers to address a wide variety classification problems. Through a modular setup, these can easily be interchanged and compared.

Documentation

For more information, see the sphinx generated documentation available here (WIP).

Alternatively, you can generate the documentation by checking out the master branch and running from the root directory:

python setup.py build_sphinx

The documentation can then be viewed in a browser by opening PACKAGE_ROOT\build\sphinx\html\index.html.

Installation

PREDICT has currently only been tested on Unix with Python 2.7. The package can be installed through the setup file:

python setup.py install

Make sure you first install the required packages:

pip install -r requirements.txts

FASTR tools

When running the FASTR package with a version lower than 1.3.0, you need to manually add the PREDICT fastr_tools path to the FASTR tools path. Go the your FASTR config file (default: ~/.fastr/config.py) and add the fastr_tools path analogue to the description in the PREDICT/fastrconfig/PREDICT_config.py file:

packagedir = site.getsitepackages()[0]
tools_path = [os.path.join(packagedir, 'PREDICT', 'fastr_tools')] + tools_path

When using FASTR >1.3.0, the PREDICT config file will be automatically created for you in the default: ~/.fastr/config.d folder.

Note that the Python site package does not work properly in virtual environments. You must then manually locate the packagedir.

Preprocessing

From version 1.0.2 and on, preprocessing has been removed from PREDICT. It is now available as a separate tool in the WORC package, as it’s also a separate step in the radiomics workflow. We do advice to use the preprocessing function and thus also WORC.

3rd-party packages used in PREDICT:

We mainly rely on the following packages:

  • SimpleITK (Image loading and preprocessing)

  • numpy (Feature computation)

  • sklearn, scipy (Classification)

  • FASTR (Fast and parallel workflow execution)

  • pandas (Storage)

  • PyRadiomics

See also the requirements file.

License

This package is covered by the open source APACHE 2.0 License.

Contact

We are happy to help you with any questions: please send us a message or create an issue on Github.

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

PREDICT-2.1.0.tar.gz (142.2 kB view details)

Uploaded Source

File details

Details for the file PREDICT-2.1.0.tar.gz.

File metadata

  • Download URL: PREDICT-2.1.0.tar.gz
  • Upload date:
  • Size: 142.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.2

File hashes

Hashes for PREDICT-2.1.0.tar.gz
Algorithm Hash digest
SHA256 5eed9cce958173e1af7e581abda7f9b8dc7ff4f692f90e4ac2d2994943d0274f
MD5 278efea3e4bfeb4ce4fe28e5d4252cbd
BLAKE2b-256 868ba1529da6671a1b8376d558ede0053ce2aa883ed67228849b53b47efc7ec6

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