Welcome to ClientVPS Mirrors

README

R-hub DOI

ReSurv

ReSurv is an R software for predicting IBNR claims. The software includes tools for synthetic data generation, data pre-processing, hyperparameters tuning, model estimation and prediction.

The package is based on the approach illustrated in Hiabu M., Hofman E., and Pittarello G. (2023) and estimates feature dependent development factors using individual reserving data.

Available Machine Learning (ML) models

There is a one-to-one relationship between development factors and hazard rates (Hiabu et al. (2023)). The package implements extends the following machine learning algorithms for proportional hazard models:

ReSurv extends COX, NN, and XGB to account for ties in left-truncated and right-censored observations.

Installation

Developer Version

The developers version of the package can be installed from GitHub.

devtools::install_github('https://github.com/edhofman/ReSurv')

Python Dependencies

For using the NN models we suggest to install a virtual environment using

install_pyresurv()

The default name of the virtual environment is "pyresurv".

We then suggest to refresh the R session and to import the ReSurv package in R using

library(ReSurv)
reticulate::use_virtualenv("pyresurv")

Managing Multiple Package Dependencies

This section is taken from the guidelines of the R package reticulate for handling the case of multiple packages in your session that used isolated-package-environments. The most straightforward solution would be installing a dedicated environment for both.

envname <- "./venv"
ReSurv::install_pyresurv(envname = envname)
pysparklyr::install_pyspark(envname = envname)

References

Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.

This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.