Nothing
Code
cubist(data$x, factor(data$y > 0))
Condition
Error:
! cubist models require a numeric outcome
Code
cubist(data$x, data$y, committees = 0)
Condition
Error:
! number of committees must be between 1 and 100
Code
cubist(data$x, data$y, committees = 101)
Condition
Error:
! number of committees must be between 1 and 100
Code
cubist(as.list(data$x), data$y)
Condition
Error:
! x must be a matrix or data frame
Code
cubist(data$x, data$y, weights = rep("a", 50))
Condition
Error:
! case weights must be numeric
Code
cubist(x_no_names, data$y)
Condition
Error in `check_names()`:
! The data should have column names
Code
cubistControl(rules = 0)
Condition
Error:
! number of rules must be between 1 and 1000000
Code
cubistControl(rules = 1000001)
Condition
Error:
! number of rules must be between 1 and 1000000
Code
cubistControl(extrapolation = -1)
Condition
Error:
! percent extrapolation must between 0 and 100
Code
cubistControl(extrapolation = 101)
Condition
Error:
! percent extrapolation must between 0 and 100
Code
cubistControl(sample = -1)
Condition
Error:
! sampling percentage must be between 0.0 and 99.9
Code
cubistControl(sample = 100)
Condition
Error:
! sampling percentage must be between 0.0 and 99.9
Code
Cubist:::check_names(mat)
Condition
Error in `Cubist:::check_names()`:
! The data should have column names
Code
Cubist:::check_date_columns(df)
Condition
Error:
! Column 'date_col' has a date/datetime class. Cubist does not support date or datetime predictors. Consider converting to numeric (e.g., days since a reference date) or extracting components (year, month, day) as separate predictors.
Code
Cubist:::check_date_columns(df)
Condition
Error:
! Column 'datetime_col' has a date/datetime class. Cubist does not support date or datetime predictors. Consider converting to numeric (e.g., days since a reference date) or extracting components (year, month, day) as separate predictors.
Code
Cubist:::check_date_columns(df)
Condition
Error:
! Column 'datetime_col' has a date/datetime class. Cubist does not support date or datetime predictors. Consider converting to numeric (e.g., days since a reference date) or extracting components (year, month, day) as separate predictors.
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.