{ "info": { "author": "Sebastian P\u00f6lsterl", "author_email": "sebp@k-d-w.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: C", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering", "Topic :: Software Development" ], "description": "***************\nscikit-survival\n***************\n\n.. image:: https://img.shields.io/badge/license-GPLv3-blue.svg\n :target: COPYING\n :alt: License\n\n.. image:: https://travis-ci.org/sebp/scikit-survival.svg?branch=master\n :target: https://travis-ci.org/sebp/scikit-survival\n :alt: Travis CI Build Status\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/sebp/scikit-survival?branch=master&svg=true\n :target: https://ci.appveyor.com/project/sebp/scikit-survival\n :alt: AppVeyor Build Status\n\n.. image:: https://codecov.io/gh/sebp/scikit-survival/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/sebp/scikit-survival\n :alt: codecov\n\n.. image:: https://api.codacy.com/project/badge/Grade/17242004cdf6422c9a1052bf1ec63104\n :target: https://www.codacy.com/app/sebp/scikit-survival?utm_source=github.com&utm_medium=referral&utm_content=sebp/scikit-survival&utm_campaign=badger\n :alt: Codacy Badge\n\n.. image:: https://readthedocs.org/projects/scikit-survival/badge/?version=latest\n :target: https://scikit-survival.readthedocs.io/en/latest/\n :alt: readthedocs.org\n\n.. image:: https://zenodo.org/badge/77409504.svg\n :target: https://zenodo.org/badge/latestdoi/77409504\n :alt: Digital Object Identifier (DOI)\n\nscikit-survival is a Python module for `survival analysis`_\nbuilt on top of `scikit-learn `_. It allows doing survival analysis\nwhile utilizing the power of scikit-learn, e.g., for pre-processing or doing cross-validation.\n\n=======================\nAbout Survival Analysis\n=======================\n\nThe objective in `survival analysis`_ (also referred to as reliability analysis in engineering)\nis to establish a connection between covariates and the time of an event.\nWhat makes survival analysis differ from traditional machine learning is the fact that\nparts of the training data can only be partially observed \u2013 they are *censored*.\n\nFor instance, in a clinical study, patients are often monitored for a particular time period,\nand events occurring in this particular period are recorded.\nIf a patient experiences an event, the exact time of the event can\nbe recorded \u2013 the patient\u2019s record is uncensored. In contrast, right censored records\nrefer to patients that remained event-free during the study period and\nit is unknown whether an event has or has not occurred after the study ended.\nConsequently, survival analysis demands for models that take\nthis unique characteristic of such a dataset into account.\n\n============\nRequirements\n============\n\n- Python 3.5 or later\n- cvxpy\n- cvxopt\n- numexpr\n- numpy 1.12 or later\n- pandas 0.21 or later\n- scikit-learn 0.20 or 0.21\n- scipy 1.0 or later\n- C/C++ compiler\n\n============\nInstallation\n============\n\nThe easiest way to get started is to install `Anaconda `_\nand setup an environment::\n\n conda install -c sebp scikit-survival\n\n----------------------\nInstalling from source\n----------------------\n\nFirst, create a new environment, named ``sksurv``::\n\n python ci/list-requirements.py requirements/dev.txt > /tmp/requirements.txt\n conda create -n sksurv -c sebp python=3 --file /tmp/requirements.txt\n\n\nTo work in this environment, ``activate`` it as follows::\n\n source activate sksurv\n\nIf you are on Windows, run the above command without the ``source`` in the beginning.\n\nOnce you set up your build environment, install submodules into your local repository::\n\n git submodule update --init\n\nThen compile the C/C++ extensions and install the package by running::\n\n python setup.py install\n\nAlternatively, if you want to use the package without installing it,\nyou can compile the extensions in place by running::\n\n python setup.py build_ext --inplace\n\nTo check everything is setup correctly run the test suite by executing::\n\n py.test tests/\n\n========\nExamples\n========\n\nThe following examples are available as `Jupyter notebook `_:\n\n* `Introduction to Survival Analysis with scikit-survival `_\n* `Pitfalls when Evaluating Survival Models `_\n* `Introduction to Kernel Survival Support Vector Machines `_\n\n=============\nDocumentation\n=============\n\nThe source code is thoroughly documented and a HTML version of the API documentation\nis available at https://scikit-survival.readthedocs.io/en/latest/.\n\nYou can generate the documentation yourself using `Sphinx `_ 1.4 or later::\n\n cd doc\n make html\n xdg-open _build/html/index.html\n\n==========\nReferences\n==========\n\nPlease cite the following papers if you are using **scikit-survival**.\n\n1. P\u00f6lsterl, S., Navab, N., and Katouzian, A.,\n`Fast Training of Support Vector Machines for Survival Analysis `_.\nMachine Learning and Knowledge Discovery in Databases: European Conference,\nECML PKDD 2015, Porto, Portugal,\nLecture Notes in Computer Science, vol. 9285, pp. 243-259 (2015)\n\n2. P\u00f6lsterl, S., Navab, N., and Katouzian, A.,\n`An Efficient Training Algorithm for Kernel Survival Support Vector Machines `_.\n4th Workshop on Machine Learning in Life Sciences,\n23 September 2016, Riva del Garda, Italy\n\n3. P\u00f6lsterl, S., Gupta, P., Wang, L., Conjeti, S., Katouzian, A., and Navab, N.,\n`Heterogeneous ensembles for predicting survival of metastatic, castrate-resistant prostate cancer patients `_.\nF1000Research, vol. 5, no. 2676 (2016).\n\n.. _survival analysis: https://en.wikipedia.org/wiki/Survival_analysis", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/sebp/scikit-survival", "keywords": "", "license": "GPLv3+", "maintainer": "", "maintainer_email": "", "name": "scikit-survival", "package_url": "https://pypi.org/project/scikit-survival/", "platform": "", "project_url": "https://pypi.org/project/scikit-survival/", "project_urls": { "Homepage": "https://github.com/sebp/scikit-survival" }, "release_url": "https://pypi.org/project/scikit-survival/0.10/", "requires_dist": null, "requires_python": "", "summary": "Survival analysis built on top of scikit-learn", "version": "0.10" }, "last_serial": 5771816, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "99bc799b699a8609881288e779d91dab", "sha256": "1cd37604907007e5ed0efa3892a8cde2f11076440cb60e6798c22412a111775d" }, "downloads": -1, "filename": "scikit-survival-0.1.tar.gz", "has_sig": true, "md5_digest": "99bc799b699a8609881288e779d91dab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 794510, "upload_time": "2016-12-29T14:32:42", "url": "https://files.pythonhosted.org/packages/a1/d1/b25a794cdd257b9c2ef2c080334567fa032900c15bed590c5b6003c7fd83/scikit-survival-0.1.tar.gz" } ], "0.10": [ { "comment_text": "", "digests": { "md5": "dc3805fcdcf549913203a1adf6ee9108", "sha256": "ade8e5ba6494bd02762d6d99d9767f11f8dafa4cefb05d1289edda4e116cdafc" }, "downloads": -1, "filename": "scikit-survival-0.10.tar.gz", "has_sig": true, "md5_digest": "dc3805fcdcf549913203a1adf6ee9108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2285493, "upload_time": "2019-09-02T16:47:53", "url": "https://files.pythonhosted.org/packages/ee/12/0f7741658971c43fd63895ec70a775fd609710384409440ef03e786df870/scikit-survival-0.10.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "760a004370e5997d461e49d829695915", "sha256": "e4c0120e3ef6f26ae746efa8b31a77c640803919a69e0b9cdf82da24b13f178f" }, "downloads": -1, "filename": "scikit-survival-0.2.tar.gz", "has_sig": true, "md5_digest": "760a004370e5997d461e49d829695915", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 794999, "upload_time": "2017-05-29T17:16:00", "url": "https://files.pythonhosted.org/packages/2d/63/3a23b79990c26fc28a4431c816dd1ac518f87f063af5e1af46d0bb58475e/scikit-survival-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "d9d674cd9128295f4e2fc2946834e151", "sha256": "20d8cf2df4b55276600b4fa188424b4e415f9834a58609fac7cdb277ce9ad8f8" }, "downloads": -1, "filename": "scikit-survival-0.3.tar.gz", "has_sig": true, "md5_digest": "d9d674cd9128295f4e2fc2946834e151", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 861457, "upload_time": "2017-08-01T20:20:07", "url": "https://files.pythonhosted.org/packages/2c/d3/3e6d59a73efb5a21a81fede3a100809dd8019fe6889e61583b73d9243d78/scikit-survival-0.3.tar.gz" } ], "0.4": [ { "comment_text": "", "digests": { "md5": "3cb6eb4014687b9726880aebb2035fd8", "sha256": "2cfde396f38b65aadb077a543ae3ea198056220325c157076a20069797b336ad" }, "downloads": -1, "filename": "scikit-survival-0.4.tar.gz", "has_sig": true, "md5_digest": "3cb6eb4014687b9726880aebb2035fd8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2090821, "upload_time": "2017-10-28T11:18:15", "url": "https://files.pythonhosted.org/packages/cd/f6/8cca16b35a4cfd7924bd962696348c871591680292292e80f5168e6fb0ec/scikit-survival-0.4.tar.gz" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "f9a49ffaa78ccdc210ae781bc09c73f1", "sha256": "30686ccf57ba9116a0788e15a784193fbde31e0bb0ccb98716f189bba7289d48" }, "downloads": -1, "filename": "scikit-survival-0.5.tar.gz", "has_sig": true, "md5_digest": "f9a49ffaa78ccdc210ae781bc09c73f1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2087356, "upload_time": "2017-12-09T09:59:46", "url": "https://files.pythonhosted.org/packages/8b/89/1283a03de5a0d46e7f80dfa40f30b8799aaa2f3d695b05662468387c04d4/scikit-survival-0.5.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "66897d2b1c0dc52f64c65b5fae5b3789", "sha256": "8af8ad74b757c136f0a13983e759ef89b3c2442b0e8611bbf14263c8c9bf9dab" }, "downloads": -1, "filename": "scikit-survival-0.6.0.tar.gz", "has_sig": true, "md5_digest": "66897d2b1c0dc52f64c65b5fae5b3789", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2100240, "upload_time": "2018-10-07T13:42:32", "url": "https://files.pythonhosted.org/packages/db/79/db3eec665bebc8167ace14427b5b91436863483c91bd957af6358fe75488/scikit-survival-0.6.0.tar.gz" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "862193b1d669428aa8759e9f7b4a9586", "sha256": "2f050fedef9beae1d7e57f43905931a8a97101bf4ad7f404d8c7ac4fc22a580f" }, "downloads": -1, "filename": "scikit-survival-0.7.tar.gz", "has_sig": false, "md5_digest": "862193b1d669428aa8759e9f7b4a9586", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2108216, "upload_time": "2019-02-27T16:19:50", "url": "https://files.pythonhosted.org/packages/44/40/c2edb93198a678d5db7a76e45e0fc08543ef4e66303a0926291a6ddc2cc7/scikit-survival-0.7.tar.gz" } ], "0.8": [ { "comment_text": "", "digests": { "md5": "caeaa2a4c40794d971d93ea3539350cf", "sha256": "456983190a1054615e2efd5e7aeeec4a06da009c94d71ebe6f6f769b30c87c6f" }, "downloads": -1, "filename": "scikit-survival-0.8.tar.gz", "has_sig": false, "md5_digest": "caeaa2a4c40794d971d93ea3539350cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2193193, "upload_time": "2019-05-01T15:12:59", "url": "https://files.pythonhosted.org/packages/36/12/51780840093d9124d273665cea73ac9e297e5a9931304ed6add0083ebcda/scikit-survival-0.8.tar.gz" } ], "0.9": [ { "comment_text": "", "digests": { "md5": "1bf18d7f4f63d4e6591e47995d0bdcc8", "sha256": "e707cea07cac3ab33811fa8db74f3729c9e9bde59654db98c871560c5e73e095" }, "downloads": -1, "filename": "scikit-survival-0.9.tar.gz", "has_sig": true, "md5_digest": "1bf18d7f4f63d4e6591e47995d0bdcc8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2281012, "upload_time": "2019-07-26T18:16:14", "url": "https://files.pythonhosted.org/packages/82/ad/af8dd2cd8138933be97f022737461876f5a2d1d2660ce423f80ea902e589/scikit-survival-0.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dc3805fcdcf549913203a1adf6ee9108", "sha256": "ade8e5ba6494bd02762d6d99d9767f11f8dafa4cefb05d1289edda4e116cdafc" }, "downloads": -1, "filename": "scikit-survival-0.10.tar.gz", "has_sig": true, "md5_digest": "dc3805fcdcf549913203a1adf6ee9108", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2285493, "upload_time": "2019-09-02T16:47:53", "url": "https://files.pythonhosted.org/packages/ee/12/0f7741658971c43fd63895ec70a775fd609710384409440ef03e786df870/scikit-survival-0.10.tar.gz" } ] }