based on dataset 46131 (gbsg) with target variable time (right-censored survival time) and status (binary censoring indicator, "event" variable).
I have tried various versions of this xml format, always based on what e.g. mlr3oml generates to publish tasks (which I successfully testes for classification tasks) and what I could find from existing survival tasks.
I attempted to create this task in two ways:
Using R's httr package and code analogous to what mlr3oml uses to upload tasks:
I have tried to use the same method to create a regression task based on this dataset through the API and I was successful, so I assume that the survival task is the issue at hand
The estimation_procedure I chose is 30, but since these are specific to task types (why?) this is likely incorrect. I have tried a different estimation procedure that corresponds to survival tasks (19), but receive the same error response.
2.1 (I do, however, specifically need stratified 5-fold CV for my tasks)
@sebffischer tried to help me with this, and confirmed for me that technically creating survival tasks works on the test server but not the production server.
As a side-note, when I tried to interactively use the REST API "try it out" feature on the website I also was not successful and from the server response below I assume that something more general was going wrong there, but I concede that I should probably open an issue on the website repo for that.
Description
Support for creating / uploading survival tasks is either (partially?) broken or at least insufficiently documented.
Steps/Code to Reproduce
An example survival task I would like to create has this format in xml:
based on dataset
46131
(gbsg
) with target variabletime
(right-censored survival time) andstatus
(binary censoring indicator, "event" variable).I have tried various versions of this xml format, always based on what e.g.
mlr3oml
generates to publish tasks (which I successfully testes for classification tasks) and what I could find from existing survival tasks.I attempted to create this task in two ways:
httr
package and code analogous to whatmlr3oml
uses to upload tasks:Expected Results
I expected to receive a task id of the correctly published survival task.
Actual Results
Versions of this error message:
Additional remarks
estimation_procedure
I chose is30
, but since these are specific to task types (why?) this is likely incorrect. I have tried a different estimation procedure that corresponds to survival tasks (19
), but receive the same error response. 2.1 (I do, however, specifically need stratified 5-fold CV for my tasks)