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
Metadata
Release files for ASBPredictor 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asbpredictor-0.1.1.tar.gz | 147.5 kB | Without provenance | Details for asbpredictor-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ASBPredictor-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for ASBPredictor-0.1.1-py3-none-any.whl |
Total release size: 303.6 kB
Release files / asbpredictor-0.1.1.tar.gz
| Download URL | asbpredictor-0.1.1.tar.gz |
|---|---|
| Size | 147.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
967b8493da43e54b7a0c83ef2c3e8f3481c2882c364f39728adc05550aa25b24
|
|
BLAKE2b-256 checksum How to use checksums |
3f745953b3dae9a6a33f2298e69c65a91c5882a73d86ee663d89a2421d1667cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / ASBPredictor-0.1.1-py3-none-any.whl
| Download URL | ASBPredictor-0.1.1-py3-none-any.whl |
|---|---|
| Size | 156.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
76f2565dbfe07282ee49806aae7c4f0966d6b7b82d4fc185ec587440bd901a24
|
|
BLAKE2b-256 checksum How to use checksums |
e68d7a8c9ba84a8a984020f0fb6f0eb8e07b414709422cdf0e2242acf8c421bc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for ASBPredictor 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.