A Python package for predicting ASB risk from clinical data.
Project description
ASBPredictor
ASBPredictor is a Python package for predicting ASB (Asymptomatic Bacteriuria) risk. It uses a pre-trained RandomForestClassifier model and generates predictions based on clinical data in CSV format. This package is suitable for medical data analysis and clinical research.
Features
- Fast Prediction: Supports batch input data and generates ASB risk predictions.
- Easy to Use: Command-line interface for straightforward operation.
- Flexible Input: Supports multi-row CSV input files, with results saved to a new file with predicted probabilities.
- Customizable: Allows replacement of the default model with custom-trained models.
Installation
Install from PyPI
Run the following command:
pip install ASBPredictor
Usage
Command-Line Interface Once installed, you can run ASBPredictor directly from the command line.
Basic Command:
ASBPredictor -i <input_csv_path> -o <output_csv_path>
Example
git clone https://github.com/yangfangs/ASBPredictor.git
cd ASBPredictor/examples/
ASBPredictor -i input_data.csv -o output_data.csv
Requirements
Python version >= 3.6
Required libraries:
pandas >= 1.0.0
scikit-learn >= 1.5.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file asbpredictor-0.1.1.tar.gz.
File metadata
- Download URL: asbpredictor-0.1.1.tar.gz
- Upload date:
- Size: 147.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
967b8493da43e54b7a0c83ef2c3e8f3481c2882c364f39728adc05550aa25b24
|
|
| MD5 |
e8bd59a6cfeb576f956eb8e7fc89f70f
|
|
| BLAKE2b-256 |
3f745953b3dae9a6a33f2298e69c65a91c5882a73d86ee663d89a2421d1667cc
|
File details
Details for the file ASBPredictor-0.1.1-py3-none-any.whl.
File metadata
- Download URL: ASBPredictor-0.1.1-py3-none-any.whl
- Upload date:
- Size: 156.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76f2565dbfe07282ee49806aae7c4f0966d6b7b82d4fc185ec587440bd901a24
|
|
| MD5 |
923f0a8839534d802f0eab6016399f02
|
|
| BLAKE2b-256 |
e68d7a8c9ba84a8a984020f0fb6f0eb8e07b414709422cdf0e2242acf8c421bc
|