Skip to content

Commit

Permalink
fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
schalkdaniel committed Mar 14, 2023
1 parent 61d092e commit e029c6a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vignettes/basic-use-case.Rmd
Expand Up @@ -60,13 +60,15 @@ cboost$addBaselearner("Age", "spline", BaselearnerPSpline)
cboost$addBaselearner("Age", "linear", BaselearnerPolynomial)
```

Additional arguments can be specified after naming the base-learner. For a complete list see the [functionality](https://compboost.org/functionality.html) at the project page:
Additional arguments can be specified after naming the base-learner:
```{r}
# Spline base-learner of fare:
cboost$addBaselearner("Fare", "spline", BaselearnerPSpline, degree = 2,
n_knots = 14, penalty = 10, differences = 2)
```

For references to the base learner documentation see [functionality](https://danielschalk.com/compboost/articles/functionality/fct-baselearner.html) at the project page.

### Categorical Features

When adding categorical features we use a dummy coded representation with a ridge penalty:
Expand Down

0 comments on commit e029c6a

Please sign in to comment.