Machine Learning in R
data-science
machine-learning
cran
tutorial
r
statistics
clustering
regression
feature-selection
tuning
classification
survival-analysis
r-package
hyperparameters-optimization
predictive-modeling
imbalance-correction
mlr
learners
stacking
multilabel-classification
-
Updated
Aug 18, 2020 - R
Hi,
I ran into the following assertion error when computing the c-index for the discrete MTLR method.
assert durations.shape[0] == surv.shape[1] == surv_idx.shape[0] == events.shape[0]I suppose the error is due to the fact that the maximum of test durations is 1628***, while the function gets in input a number between 0 and 490. This range (0, 490) is the result of applying the following