# NOT RUN {
library("mlr3")
task = tsk("iris")
pop = po("modelmatrix", formula = ~ . ^ 2)
task$data()
pop$train(list(task))[[1]]$data()
pop$param_set$values$formula = ~ 0 + . ^ 2
pop$train(list(task))[[1]]$data()
# }
Run the code above in your browser using DataCamp Workspace