{"id":13473381,"url":"https://github.com/sebp/scikit-survival","last_synced_at":"2025-05-13T20:11:41.151Z","repository":{"id":14994696,"uuid":"77409504","full_name":"sebp/scikit-survival","owner":"sebp","description":"Survival analysis built on top of scikit-learn","archived":false,"fork":false,"pushed_at":"2025-04-28T00:58:14.000Z","size":6998,"stargazers_count":1184,"open_issues_count":32,"forks_count":220,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-04-28T11:56:30.794Z","etag":null,"topics":["machine-learning","python","scikit-learn","survival-analysis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sebp.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"CONTRIBUTING.rst","funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-12-26T22:15:53.000Z","updated_at":"2025-04-27T06:15:07.000Z","dependencies_parsed_at":"2023-02-14T10:32:00.143Z","dependency_job_id":"2f7e137a-d8b9-4f38-adb4-add1c2f56aea","html_url":"https://github.com/sebp/scikit-survival","commit_stats":{"total_commits":1047,"total_committers":23,"mean_commits":45.52173913043478,"dds":0.08787010506208215,"last_synced_commit":"f6aea43b9a80083f07569d91b23d7ba41c2fcbee"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebp%2Fscikit-survival","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebp%2Fscikit-survival/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebp%2Fscikit-survival/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebp%2Fscikit-survival/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebp","download_url":"https://codeload.github.com/sebp/scikit-survival/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251311332,"owners_count":21569008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["machine-learning","python","scikit-learn","survival-analysis"],"created_at":"2024-07-31T16:01:03.131Z","updated_at":"2025-04-28T11:56:42.129Z","avatar_url":"https://github.com/sebp.png","language":"Python","readme":"|License| |Docs| |DOI|\n\n|build-tests| |build-windows| |Codecov| |Codacy|\n\n***************\nscikit-survival\n***************\n\nscikit-survival is a Python module for `survival analysis`_\nbuilt on top of `scikit-learn \u003chttps://scikit-learn.org/\u003e`_. 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 time-to-event or reliability analysis)\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 – 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 – the patient’s 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.10 or later\n- ecos\n- joblib\n- numexpr\n- numpy\n- osqp\n- pandas 1.4.0 or later\n- scikit-learn 1.6\n- scipy\n- C/C++ compiler\n\n============\nInstallation\n============\n\nThe easiest way to install scikit-survival is to use\n`Anaconda \u003chttps://www.anaconda.com/distribution/\u003e`_ by running::\n\n  conda install -c conda-forge scikit-survival\n\nAlternatively, you can install scikit-survival from source\nfollowing `this guide \u003chttps://scikit-survival.readthedocs.io/en/stable/install.html#from-source\u003e`_.\n\n========\nExamples\n========\n\nThe `user guide \u003chttps://scikit-survival.readthedocs.io/en/stable/user_guide/index.html\u003e`_ provides\nin-depth information on the key concepts of scikit-survival, an overview of available survival models,\nand hands-on examples in the form of `Jupyter notebooks \u003chttps://jupyter.org/\u003e`_.\n\n================\nHelp and Support\n================\n\n**Documentation**\n\n- HTML documentation for the latest release: https://scikit-survival.readthedocs.io/en/stable/\n- HTML documentation for the development version (master branch): https://scikit-survival.readthedocs.io/en/latest/\n- For a list of notable changes, see the `release notes \u003chttps://scikit-survival.readthedocs.io/en/stable/release_notes.html\u003e`_.\n\n**Bug reports**\n\n- If you encountered a problem, please submit a\n  `bug report \u003chttps://github.com/sebp/scikit-survival/issues/new?template=bug_report.md\u003e`_.\n\n**Questions**\n\n- If you have a question on how to use scikit-survival, please use `GitHub Discussions \u003chttps://github.com/sebp/scikit-survival/discussions\u003e`_.\n- For general theoretical or methodological questions on survival analysis, please use\n  `Cross Validated \u003chttps://stats.stackexchange.com/questions/tagged/survival\u003e`_.\n\n============\nContributing\n============\n\nNew contributors are always welcome. Please have a look at the\n`contributing guidelines \u003chttps://scikit-survival.readthedocs.io/en/latest/contributing.html\u003e`_\non how to get started and to make sure your code complies with our guidelines.\n\n==========\nReferences\n==========\n\nPlease cite the following paper if you are using **scikit-survival**.\n\n  S. Pölsterl, \"scikit-survival: A Library for Time-to-Event Analysis Built on Top of scikit-learn,\"\n  Journal of Machine Learning Research, vol. 21, no. 212, pp. 1–6, 2020.\n\n.. code::\n\n  @article{sksurv,\n    author  = {Sebastian P{\\\"o}lsterl},\n    title   = {scikit-survival: A Library for Time-to-Event Analysis Built on Top of scikit-learn},\n    journal = {Journal of Machine Learning Research},\n    year    = {2020},\n    volume  = {21},\n    number  = {212},\n    pages   = {1-6},\n    url     = {http://jmlr.org/papers/v21/20-729.html}\n  }\n\n.. |License| image:: https://img.shields.io/badge/license-GPLv3-blue.svg\n  :target: COPYING\n  :alt: License\n\n.. |Codecov| 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.. |Codacy| image:: https://api.codacy.com/project/badge/Grade/17242004cdf6422c9a1052bf1ec63104\n   :target: https://app.codacy.com/gh/sebp/scikit-survival/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade\n   :alt: Codacy Badge\n\n.. |Docs| 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.. |DOI| image:: https://zenodo.org/badge/77409504.svg\n   :target: https://zenodo.org/badge/latestdoi/77409504\n   :alt: Digital Object Identifier (DOI)\n\n.. |build-tests| image:: https://github.com/sebp/scikit-survival/actions/workflows/tests-workflow.yaml/badge.svg?branch=master\n  :target: https://github.com/sebp/scikit-survival/actions?query=workflow%3Atests+branch%3Amaster\n  :alt: GitHub Actions Tests Status\n\n.. |build-windows| image:: https://ci.appveyor.com/api/projects/status/github/sebp/scikit-survival?branch=master\u0026svg=true\n   :target: https://ci.appveyor.com/project/sebp/scikit-survival\n   :alt: Windows Build Status on AppVeyor\n\n.. _survival analysis: https://en.wikipedia.org/wiki/Survival_analysis\n","funding_links":[],"categories":["Python","Time Series","\u003cspan id=\"head8\"\u003e2.3. Survival Analysis\u003c/span\u003e","Survival Analysis","Machine Learning Frameworks","🎲 Statistics \u0026 Probability"],"sub_categories":["General-Purpose Machine Learning","Tools"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebp%2Fscikit-survival","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebp%2Fscikit-survival","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebp%2Fscikit-survival/lists"}