semvec/pypi-packages huggingface dataset:
CVHealthEva 1.0.5
CVD score & CVD age
Requires Python: >=3.6

# 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)
```