mlr3 icon indicating copy to clipboard operation
mlr3 copied to clipboard

Support 64 bit integers in tasks

Open mllg opened this issue 5 years ago • 3 comments

I.e., via package bit64. data.table already supports it nicely.

mllg avatar Feb 06 '20 19:02 mllg

Any examples on its effect?

pat-s avatar Feb 07 '20 07:02 pat-s

Is needed for row ids if you have more than .Machine$integer.max rows. Alternatively also allow doubles, but this is rather ugly.

mllg avatar Feb 07 '20 09:02 mllg

Any examples on its effect?

require(bit64) task = TaskRegr$new("mc", backend = data.table(dd = bit64::as.integer64(34534543), bb = 0), target = "bb") #Error in super$initialize(id = id, task_type = task_type, backend = backend) : #Assertion on 'feature types' failed: Must be a subset of #{'logical','integer','numeric','character','factor','ordered','POSIXct'}, but is {'integer','numeric','integer64'}.

gsenseless avatar Mar 13 '20 14:03 gsenseless