From d753ca9457a58ae6fc928b17a79a6dcddd651f2c Mon Sep 17 00:00:00 2001 From: john Date: Thu, 19 Oct 2023 16:36:37 +0200 Subject: [PATCH] fix style issues --- R/learner_glmnet_surv_cv_glmnet.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/R/learner_glmnet_surv_cv_glmnet.R b/R/learner_glmnet_surv_cv_glmnet.R index acf851b34..546a71081 100644 --- a/R/learner_glmnet_surv_cv_glmnet.R +++ b/R/learner_glmnet_surv_cv_glmnet.R @@ -73,7 +73,7 @@ delayedAssign( prec = p_dbl(default = 1e-10, tags = "train"), predict.gamma = p_dbl(default = "gamma.1se", special_vals = list("gamma.1se", "gamma.min"), tags = "predict"), relax = p_lgl(default = FALSE, tags = "train"), - s = p_dbl(0, special_vals = list("lambda.1se", "lambda.min"), default = "lambda.1se", tags = "predict"), + s = p_dbl(0, special_vals = list("lambda.1se", "lambda.min"), default = "lambda.1se", tags = "predict"), #nolint standardize = p_lgl(default = TRUE, tags = "train"), standardize.response = p_lgl(default = FALSE, tags = "train"), thresh = p_dbl(0, default = 1e-07, tags = "train"), @@ -138,8 +138,8 @@ delayedAssign( # get survival matrix fit = invoke(survival::survfit, formula = self$model$model, - x = self$model$x, y = self$model$y, weights = self$model$weights, - newx = newdata, se.fit = FALSE, .args = pv) + x = self$model$x, y = self$model$y, weights = self$model$weights, + newx = newdata, se.fit = FALSE, .args = pv) # get linear predictor lp = as.numeric(