Skip to content
Artificial neural networks for survival analysis
R
Branch: master
Clone or download
Latest commit dfc1bcf Oct 3, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R add example Oct 3, 2019
man add example Oct 3, 2019
tests add skip connections for cause-specific layers Nov 12, 2018
.Rbuildignore First working version Sep 3, 2018
.gitignore First working version Sep 3, 2018
DESCRIPTION add CUDNN layers Nov 14, 2018
LICENSE First working version Sep 3, 2018
NAMESPACE add predcit function Sep 3, 2018
README.md update readme Oct 3, 2019

README.md

survnet: Artificial neural networks for survival analysis

Marvin N. Wright

Installation

devtools::install_github("bips-hb/survnet")

Example

library(survival)
library(survnet)

# Survival data
y <- veteran[, c(3, 4)]
x <- veteran[, c(-2, -3, -4)]
x <- data.frame(lapply(x, scale))
breaks <- c(1, 50, 100, 200, 500, 1000)

# Fit simple model
fit <- survnet(y = y, x = x, breaks = breaks)
plot(fit$history)
You can’t perform that action at this time.