Metadata-Version: 2.1
Name: proxsurv
Version: 0.0.2
Summary: Proximity Based Survival Analysis
Author-email: Rahul Goswami <yuvrajiro@gmail.com>, Rahul Goswami <arabin.k.dey@gmail.com>
License: MIT License
        
        Copyright (c) 2023 Rahul Goswami 
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/yuvrajiro/pbsa
Project-URL: Documentation, https://pbsa.readthedocs.io
Project-URL: Source Code, https://github.com/yuvrajiro/pbsa
Project-URL: Bug Tracker, https://github.com/yuvrajiro/pbsa/issues
Project-URL: Release Notes, https://pbsa.readthedocs.io/en/latest/release_notes.html
Keywords: Proximity,Machine Learning,Survival Analysis,Ensemble Learning
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: joblib~=1.3.2
Requires-Dist: pycox~=0.2.3
Requires-Dist: scikit-learn~=1.2.2
Requires-Dist: numba~=0.57.1
Requires-Dist: numpy~=1.24.0
Requires-Dist: pandas~=1.4.4
Requires-Dist: setuptools~=65.5.1
Requires-Dist: torch~=2.0.1
Requires-Dist: scikit-survival~=0.21.0
Requires-Dist: nbsphinx~=0.9.3
Requires-Dist: nbconvert~=7.8.0
Provides-Extra: dev
Requires-Dist: black[jupyter]; extra == "dev"
Requires-Dist: build; extra == "dev"
Requires-Dist: coverage; extra == "dev"
Requires-Dist: cython>=0.29; extra == "dev"
Requires-Dist: packaging; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Requires-Dist: setuptools-scm>=6.4; extra == "dev"
Requires-Dist: tomli; extra == "dev"
Requires-Dist: tox; extra == "dev"
Provides-Extra: docs
Requires-Dist: ipython!=8.7.0; extra == "docs"
Requires-Dist: nbsphinx>=0.9.2; extra == "docs"
Requires-Dist: docutils; extra == "docs"
Requires-Dist: setuptools-scm; extra == "docs"
Requires-Dist: sphinx~=6.2.1; extra == "docs"
Requires-Dist: pydata-sphinx-theme~=0.13.3; extra == "docs"
Requires-Dist: sphinxcontrib-spelling; extra == "docs"
Requires-Dist: sphinx-design~=0.4.1; extra == "docs"
Requires-Dist: sphinx-copybutton~=0.5.2; extra == "docs"
Provides-Extra: nbval
Requires-Dist: ipykernel; extra == "nbval"
Requires-Dist: ipython!=8.7.0; extra == "nbval"
Requires-Dist: matplotlib~=3.6.2; extra == "nbval"
Requires-Dist: nbformat; extra == "nbval"
Requires-Dist: nbval>=0.10.0; extra == "nbval"
Requires-Dist: seaborn~=0.11.2; extra == "nbval"

 

# PBSA : Proximity Based Survival Analysis

[![Documentation Status](https://readthedocs.org/projects/pbsa/badge/?version=latest)](https://pbsa.readthedocs.io/en/latest/?badge=latest)



![PBSA](Population.png)





Proximity Based Survival Analysis are algorithms, designed for survival prediction
using proximity information. The k-NN survival, Random Survival Forest, Kernel Survival
are some examples of proximity based survival analysis. While this package tends 
to provide those algorithms later, currently the package provides the following algorithms:

- COBRA Survival 

For now other algorithms are taken from scikit-survival and np_survival to provide as
a base learner for the ensemble algorithms.

## installation

```
pip install proxsurv
```

The documentation is available at [https://pbsa.readthedocs.io/en/latest/](https://pbsa.readthedocs.io/en/latest/)



## References

- Goswami, Rahul & Dey, Arabin. (2023). Area-norm COBRA on Conditional Survival Prediction. The paper explores a different variation of combined regression strategy to calculate the conditional survival function. We use regression based weak learners to create the proposed ensemble technique. The proposed combined regression strategy uses proximity measure as area between two survival curves. The proposed model shows a construction which ensures that it performs better than the Random Survival Forest. The paper discusses a novel technique to select the most important variable in the combined regression setup. We perform a simulation study to show that our proposition for finding relevance of the variables works quite well. We also use three real-life datasets to illustrate the model. 

