English | δΈζ
The local version of PBIPred (A machine learning based preterm brain injury predictor) for multiple samples.
# Please run these commands in terminal and install anaconda/miniconda first
git clone https://github.com/2019012971/PBIPred.git
cd PBIPred
conda create -n PBIPred python=3.9
conda activate PBIPred
pip install pycaret pycaret[full]
Kindly prepare a comma-separated values (CSV) file to be utilised as input. An illustrative example is provided in the file designated "input_template.csv".
# The result is on the 'results.csv'
python predict.py --input input_template.csv --output results.csv
usage: predict.py [-h] [--input INPUT] [--output OUTPUT]
Process input and output csv files.
optional arguments:
-h, --help show this help message and exit
--input INPUT Input csv file path
--output OUTPUT Output csv file path
The webserver version of PBIPred is provided at http://pbipred.liaolab.net.