Skip to content

Commit

Permalink
prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
adibender committed Apr 15, 2020
1 parent 1e9419a commit 17f0550
Show file tree
Hide file tree
Showing 41 changed files with 2,732 additions and 0 deletions.
31 changes: 31 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Package: pamm.xgb
Title: Advanced survival analysis using xgboost
Version: 0.1.0
Date: 2020-01-07
Authors@R: person("Andreas", "Bender", , "[email protected]", role = c("aut", "cre"), comment=c(ORCID = "0000-0001-5628-8611"))
Description: Estimate piece-wise exponential models using gradient based algorithms.
Depends: R (>= 3.6.0)
Imports:
caret,
checkmate,
rlang,
purrr,
dplyr,
tidyr,
pammtools,
xgboost,
pec,
prodlim,
Formula,
survival
Suggests:
knitr,
rmarkdown,
testthat
Remotes:
adibender/pammtools
License: MIT + file LICENSE
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.0.2
VignetteBuilder: knitr
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
YEAR: 2019
COPYRIGHT HOLDER: Andreas Bender
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# MIT License

Copyright (c) 2019 Andreas Bender

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.
57 changes: 57 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Generated by roxygen2: do not edit by hand

S3method(as.data.frame,crps)
S3method(as_ped,pam_xgb)
S3method(predict,pam_xgb)
S3method(predictEventProb,pam_xgb)
S3method(predictSurvProb,pam_xgb)
export(add_cumu_hazard2)
export(add_hazard2)
export(add_surv_prob2)
export(as_xgb_data)
export(get_cv_indices)
export(get_ibs)
export(get_split_indices)
export(random_params)
export(rf.cv_pam)
export(rf.tune_pam)
export(sim_pexp_cr)
export(xgb.cv_pam)
export(xgb.train.ped)
export(xgb.tune_pam)
export(xgboost.ped)
import(checkmate)
import(dplyr)
importFrom(Formula,Formula)
importFrom(caret,createFolds)
importFrom(dplyr,bind_cols)
importFrom(pammtools,as_ped)
importFrom(pammtools,get_intervals)
importFrom(pammtools,is.ped)
importFrom(pammtools,split_data)
importFrom(pec,crps)
importFrom(pec,pec)
importFrom(pec,predictEventProb)
importFrom(pec,predictSurvProb)
importFrom(prodlim,Hist)
importFrom(purrr,flatten_chr)
importFrom(purrr,map)
importFrom(purrr,map_dfr)
importFrom(purrr,map_lgl)
importFrom(purrr,reduce)
importFrom(rlang,.data)
importFrom(rlang,.env)
importFrom(rlang,UQ)
importFrom(rlang,is_atomic)
importFrom(rlang,quo_name)
importFrom(rlang,sym)
importFrom(stats,model.matrix)
importFrom(stats,predict)
importFrom(stats,quantile)
importFrom(survival,Surv)
importFrom(tidyr,fill)
importFrom(tidyr,pivot_longer)
importFrom(xgboost,setinfo)
importFrom(xgboost,xgb.DMatrix)
importFrom(xgboost,xgb.train)
importFrom(xgboost,xgboost)
Loading

0 comments on commit 17f0550

Please sign in to comment.