Nothing
Code
PredictionClust$new(row_ids = 1:2, partition = c(1L, 2L), prob = prob)
Condition
Error in `check_prediction_data.PredictionDataClust()`:
! Assertion on 'partition' failed: Must be a subset of {'3','7'}, but has additional elements {'1','2'}.
Code
PredictionClust$new(row_ids = 1:2, partition = c(2L, 3L), prob = prob)
Condition
Error in `check_prediction_data.PredictionDataClust()`:
! Assertion on 'partition' failed: Must be a subset of {'1','2'}, but has additional elements {'3'}.
Code
as_prediction_clust(data.frame(row_ids = 1:3, partition = c(1.5, 2, 3)))
Condition
Error in `check_prediction_data.PredictionDataClust()`:
! Assertion on 'pdata$partition' failed: Must be of type 'integerish', but element 1 is not close to an integer.
Code
c(p3, p4)
Condition
Error:
! number of columns of matrices must match (see arg 2)
Code
c(a, b)
Condition
Error:
!
x Cannot combine predictions: Some predictions have weights, others do not.
> Class: Mlr3ErrorInput
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.