Skip to main content

CVD score & CVD age

Project description

CVHealthEva

The CVHealthEva is a python package that assists doctors to evaluate individual cardiovascular status. Users can use it to calculate the cardiovascular age, absolute risk score(ARS)and relative risk score (RRS) of individuals.

Installation and dependency package

dependency package

python >=3.6
xgboost >=0.90

Installation

pip install cvdscore

Example

from xgboost import XGBClassifier
import pickle
import scipy.stats as st
import pandas as pd
import numpy as np
import cvdscore
test = pd.read_table('https://raw.githubusercontent.com/VVictorChen/cvdscore/master/Example/DEMO_TESTV2.csv',sep=',',encoding='utf_8_sig')
testdata= test.drop(['result_after3year'],axis =1 ,inplace=False) 
test.head()
X = preprocess(testdata)
X.head()
cvd_age = cvdage(X)
cvd_score = main_cvdscore(X)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CVHealthEva-1.0.5.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

CVHealthEva-1.0.5-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page