Skip to content

Commit

Permalink
Try evaluating train function
Browse files Browse the repository at this point in the history
  • Loading branch information
Robinlovelace committed Sep 24, 2024
1 parent 737cbfc commit 6302bc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 15-eco.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -505,13 +505,13 @@ autotuner_rf = mlr3tuning::auto_tuner(

Calling the `train()`-method of the `AutoTuner`-object finally runs the hyperparameter\index{hyperparameter} tuning, and will find the optimal hyperparameter\index{hyperparameter} combination for the specified parameters.

```{r 15-eco-24, eval=FALSE, cache=TRUE, cache.lazy=FALSE}
```{r 15-eco-24, eval=TRUE, cache=TRUE, cache.lazy=FALSE}
# hyperparameter tuning
set.seed(08012024)
autotuner_rf$train(task)
```

```{r 15-eco-25, cache=TRUE, cache.lazy=FALSE, eval=FALSE, echo=FALSE}
```{r 15-eco-25, cache=TRUE, cache.lazy=FALSE, eval=TRUE, echo=FALSE}
saveRDS(autotuner_rf, "extdata/15-tune.rds")
```

Expand Down

0 comments on commit 6302bc7

Please sign in to comment.