Skip to main content

patient

This is under review.

Patients need to know effects of medication and exercise for alleviating diseases. Biomarkers are used to monitor the status of individual diseases.

phope.py (Patient for Hospital Observation and Predicting Effects of medication and exercise) with five determinants such as "day" (tested date), "hgb" of hbA1c value (biomarker for diabetes), "ntbnp" of NT-proBNP value (biomarker for heart failure), "degree1" (polynomial regression for hbA1c), and "degree2" (polynomial regression for NT-proBNP) is a universal biomarker prediction tool that can be used for evaluating the performance and predicting values of biomarkers for the next hospital visit.

To run phope.py after creating a data.csv, type python phope.py in the terminal. The following table is an example of data.csv. 2023/4/10 is the date of the next hospital visit.

An example of data.csv for phope.py

In phope.py, you can change Python codes for your use.

phope was developed based on phope.py which is a PyPI universal biomarker prediction tool with data.csv. PyPI allows phope to run on Windows, MacOS, and Linux operating systems as long as Python is installed on the system. phope can set left vertical axis and right vertical axis of two biomakers with data.csv.

data.csv for phope is a data file composed of seven determinants such as "day" (tested date), "hbA1c" value (biomarker for diabetes), "NT-proBNP" value (biomarker for heart failure), "degree1" (polynomial regression for hbA1c), "degree2" (polynomial regression for NT-proBNP), the left vertical-axis range (low and high), and the right vertical-axis range (low and high).

The data.csv file must be created by the patient or physician before running the program as shown in the following table.

An example of data.csv for phope

phope allows users to modify two biomarker's names such as hbA1c and NT-proBNP in data.csv.

The next hospital visit date is automatically recognized by phope with the end of "day" in data.csv.

Five determinant names such as "day", "degree1", "degree2", "y1" and "y2" should not be changed in data.csv.

This example shows two biomarkers such as hbA1c and NT-proBNP.

phope can predict any two biomakers simultaneously with the second and third columns in data.csv.

Columns 4 (degree1) and 5 (degree2) show the degree of polynomial regression for the first and second biomarkers, respectively.

Columns 6 (y1) and 7 (y2) set the range of vertical axis for the first and second biomarkers, respectively. The range of y1 is from 5 to 9 and that of y2 is from 0 to 450.

Based on data.csv with state-of-the-art technology using linear polynomial regressions, phope or phope.py can calculate and predict values of biomarkers for the next hospital visit.

R2-squared value can identify the best polynomial regression model. The higher the R2-squared, the better the prediction accuracy.

Predicting biomarker values allows patients to know the progress and trends of improvement in their diseases.

Predictive values are hopes of patients.

An image png file will be automatically generated by phope or phope.py

How to install phope

If you receive an error message in installation, Python may not be installed properly.

$ pip install phope

How to run phope

Make sure that data.csv file is the same directory for running phope.

$ phope

The result will be displayed on your screen and the png image file will be also generated.

Metadata

Release files for phope 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phope 0.0.10
File Size Uploaded Provenance
phope-0.0.10.tar.gz 3.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for phope 0.0.10
File Interpreter ABI Platform
phope-0.0.10-py3-none-any.whl Python 3 none any Details

Total release size: 7.4 kB

Release files / phope-0.0.10.tar.gz

Download URL phope-0.0.10.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
fe00c346e4ff03985441a9c2f85bb1380bdeb0c75f28dd70d7d6755ba58e4f8b
BLAKE2b-256 checksum
How to use checksums
3474cc924ef13a9a080e4b5990f1ab17717b43f167658039e87ecccb6b38489d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.12

Release files / phope-0.0.10-py3-none-any.whl

Download URL phope-0.0.10-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bb6d407348e9bc299982b234fb65de114dadb1483313b69960fc10e483684d2
BLAKE2b-256 checksum
How to use checksums
74ca9fd224de5e2419b73f41e16b200d590fc6c71bdeac709e148931e436a530
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.12

Security for phope 0.0.10

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page