{ "info": { "author": "Gianluca Truda", "author_email": "gianlucatruda@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Warfit-learn\n\nA toolkit for reproducible research in warfarin dose estimation.\n\n## Features\n\n- Seamless loading, cleaning, and preprocessing of the IWPC warfarin dataset.\n- Standardised implementations of scoring functions.\n - Percentage patients within 20% of therapeutic dose (PW20)\n - Mean absolute error (MAE)\n - R2 coefficient\n - Hybrid scoring functions\n - Confidence intervals\n- Multithreaded model evaluation using standardised resampling techniques.\n - Monte-carlo cross validation\n - Bootstrap resampling\n- Full interoperability with NumPy, SciPy, Pandas, Scikit-learn, and MLxtend.\n\nSupports Python 3.6+ on macOS, Linux, and Windows.\n\n## Installation\n```bash\npip install warfit-learn\n```\n\n## Usage\n\nFor a detailed tutorial, see the [Getting Started](https://github.com/gianlucatruda/warfit-learn/blob/master/docs/warfit_learn_tutorial.ipynb) document.\n\n**Seamless loading and preprocessing of IWPC dataset**\n\n```python\nfrom warfit_learn import datasets, preprocessing\nraw_iwpc = datasets.load_iwpc()\ndata = preprocessing.prepare_iwpc(raw_iwpc)\n```\n\n**Full scikit-learn interoperability**\n\n```python\nfrom sklearn.linear_model import LinearRegression\nfrom sklearn.svm import LinearSVR\nfrom warfit_learn.estimators import Estimator\nmy_models = [\n Estimator(LinearRegression(), 'LR'),\n Estimator(LinearSVR(loss='epsilon_insensitive'), 'SVR'),\n]\n```\n\n**Seamless, multithreaded research**\n\n```python\nfrom warfit_learn.evaluation import evaluate_estimators\nresults = evaluate_estimators(\n my_models,\n data,\n parallelism=0.5,\n resamples=10,\n)\n```\n\n## Copyright\n\nCopyright (C) 2019 Gianluca Truda\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gianlucatruda/warfit-learn", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "warfit-learn", "package_url": "https://pypi.org/project/warfit-learn/", "platform": "", "project_url": "https://pypi.org/project/warfit-learn/", "project_urls": { "Homepage": "https://github.com/gianlucatruda/warfit-learn" }, "release_url": "https://pypi.org/project/warfit-learn/0.1/", "requires_dist": [ "numpy (>=1.14.5)", "pandas (>=0.24.1)", "scikit-learn (>=0.21.2)", "scipy (>=1.1.0)", "joblib (>=0.12.4)", "tqdm (>=4.0)", "tabulate (>=0.8.3)" ], "requires_python": "", "summary": "A toolkit for reproducible research in warfarin dose estimation", "version": "0.1" }, "last_serial": 5495075, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "03733d1e11816bd84c4db852152cdaaf", "sha256": "de42ef272eaede2220a4533f8e216b42a100d0937c2fe53ef242a4dcb6fcdef4" }, "downloads": -1, "filename": "warfit_learn-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "03733d1e11816bd84c4db852152cdaaf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 231139, "upload_time": "2019-07-06T15:59:44", "url": "https://files.pythonhosted.org/packages/f4/1d/bfb5100d132ec1ca88accdb1a9aece07ee20982b733b7e83e50bcfdc1809/warfit_learn-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03b070c03d9ee6b3fa8ec34a609ee85e", "sha256": "609abf166a73bae50874790de37f89ac687f9ecdcf192d5f43cc86b823f51aff" }, "downloads": -1, "filename": "warfit-learn-0.1.tar.gz", "has_sig": false, "md5_digest": "03b070c03d9ee6b3fa8ec34a609ee85e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 222859, "upload_time": "2019-07-06T15:59:51", "url": "https://files.pythonhosted.org/packages/13/4e/aa4211da84686dcfda8fd131d9e1189f83733a23135f58d80023f752f1f3/warfit-learn-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "03733d1e11816bd84c4db852152cdaaf", "sha256": "de42ef272eaede2220a4533f8e216b42a100d0937c2fe53ef242a4dcb6fcdef4" }, "downloads": -1, "filename": "warfit_learn-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "03733d1e11816bd84c4db852152cdaaf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 231139, "upload_time": "2019-07-06T15:59:44", "url": "https://files.pythonhosted.org/packages/f4/1d/bfb5100d132ec1ca88accdb1a9aece07ee20982b733b7e83e50bcfdc1809/warfit_learn-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03b070c03d9ee6b3fa8ec34a609ee85e", "sha256": "609abf166a73bae50874790de37f89ac687f9ecdcf192d5f43cc86b823f51aff" }, "downloads": -1, "filename": "warfit-learn-0.1.tar.gz", "has_sig": false, "md5_digest": "03b070c03d9ee6b3fa8ec34a609ee85e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 222859, "upload_time": "2019-07-06T15:59:51", "url": "https://files.pythonhosted.org/packages/13/4e/aa4211da84686dcfda8fd131d9e1189f83733a23135f58d80023f752f1f3/warfit-learn-0.1.tar.gz" } ] }