/BPt

The Brain Predictability toolbox (BPt), is a python based Machine Learning library designed primarily for tabular and neuroimaging specific neuroimaging data but can easily be generalized further.

Primary LanguagePythonMIT LicenseMIT

Brain Predictability Toolbox (BPt)

codecov pip status status status version Downloads

logo

  • The Brain Predictability toolbox (BPt) is a Python based Machine Learning library designed for working with Neuroimaging data. This library is particularly suited towards working with large neuroimaging datasets, where a large number of subjects with potentially multi-modal data are available.

  • Please check out the project documentation at: https://sahahn.github.io/BPt/

  • This library is based on python and likely will require atleast some prior experience with python and machine learning.

Install


Note: This library is only tested on python versions 3.7+ so while 3.6 might work, for the most reliable performance please use higher versions of python!

The easiest way to install the latest stable release of BPt is via pip, just run

pip install brain-pred-toolbox 

The other method, to get the latest stable development version of the library is to clone this repository, and then install it locally with once navigated into the main BPt folder

pip install .

Quick Start Example

Load a pre-set BPt dataset, then run a default 5-fold cross validation.

from BPt.datasets import load_cali
from BPt import evaluate

data = load_cali()
results = evaluate('elastic_pipe', data)

The returned object, stored in variable results, is an instance of class EvalResults, which contains all types of information and metrics from the stored evaluation.

Check out the documentation at https://sahahn.github.io/BPt/ for more examples on how to get started using BPt!