Skip to content

bips-hb/survnet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Artificial neural networks for survival analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages