"deepAFT" is a R package for AFT model with deep learning.
The "deepAFT" software is now part of the R package "dnn" available from the Comprehensive R Archive Network (https://CRAN.R-project.org/package=dnn) and can be installed using R commands below:
install.packages("dnn")
library(dnn)
help("deepAFT")
References:
-
Norman, P. and Chen, B. E. (2018). DeepAFAT: A nonparametric accelerated failure time model with artifical neural network. M. Sc. thesis report. Department of Public Health Sciences, Queen's University, Canada.
-
Norman, P. Li, W., Jiang, W. and Chen, B. E. (2024). deepAFT: A nonlinear accelerated failure time model with artificial neural network. Statistics in Medicine. Published June 18, 2024. https://onlinelibrary.wiley.com/doi/full/10.1002/sim.10152.
Please use the steps below to install 'deepAFT' package:
- First, you need to install the 'devtools' package. You can skip this step if you have 'devtools' inst alled in your R. Invoke R and then type
install.packages("devtools")
- Load the devtools package.
library(devtools)
- Install "deepAFT" package with R commond
install_github("statapps/deepAFT")
-
Install "keras" and "tensorflow" R package.
install.packages("keral") install.packages("tensorflow")
-
Download and install "Python"
-
Install tensorFlow for your compute system (run the following code under commondline of your system (Windows, Linix, or OS X))
pip install tensorflow