Datasets:
Tasks:
Tabular Regression
Modalities:
Text
Formats:
csv
Languages:
English
Size:
10K - 100K
DOI:
License:
added usage principles with sklearn-based models
Browse files119 unmodified lines120121122123124125126119 unmodified lines## Usage Guidelines<...>## Additional Information119 unmodified lines120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151119 unmodified lines## Usage GuidelinesSuppose you trained brand-new epigenetic aging clocks model using classic `scikit-learn` library. You saved your model as `pickle` file. Then, the following block of code can be used for benchmarking your model. We also added several other published aging clocks for comparison with yours.```pythonfrom computage import run_benchmark#first define NaN imputation method for in_library models#for simlicity here we recommend to use imputation with zerosimputation = 'none'models_config = {"in_library":{'HorvathV1':{'imputation':imputation},'Hannum':{'imputation':imputation},'PhenoAgeV2':{'imputation':imputation},},#here we should define a name of our new model as well as path#to the pickle file (.pkl) of the model"new_models":{#'my_new_model_name': {'path':/path/to/model.pkl}}}#now run the benchmarkbench = run_benchmark(models_config,experiment_prefix='my_model_test',output_folder='./benchmark')#upon completion, the results will be saved in the folder you specified```## Additional Information
README.md+26-1