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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file CVHealthEva-1.0.5.tar.gz.

File metadata

  • Download URL: CVHealthEva-1.0.5.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.21.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for CVHealthEva-1.0.5.tar.gz
Algorithm Hash digest
SHA256 d08a2da7aa42b1473f7fb37e5aa34f2d65e4664fb2154aabe7cf0fc6f320cb00
MD5 52773a0f0c218d29ea2edf15dc8e939b
BLAKE2b-256 8964aeb8f5a3fc68feeada47275a134097c08b43f6f117ecf7219e8eca27af8c

See more details on using hashes here.

File details

Details for the file CVHealthEva-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: CVHealthEva-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.21.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for CVHealthEva-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 efc936ba50e1a1a79279eb4aacc67eba9d6aa88c47e092621aba68f532fd3195
MD5 fe59bae11e4617a2dbdfed55b7157986
BLAKE2b-256 f28c4d9112d6f6c15e53ad5c1dac2ac2b23563272e35b3150c15fd4d7bcef48e

See more details on using hashes here.

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