Skip to content

Commit

Permalink
more tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixWick committed Dec 27, 2023
1 parent 744825e commit 7a0bd22
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/source/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,14 @@ CB_est.fit(X_train, y)
yhat = CB_est.predict(X_test)
```

There is also some functionality for interaction term selection, exploiting
feature binning:
```python
from cyclic_boosting.interaction_selection import select_interaction_terms_anova

best_interaction_term_features = select_interaction_terms_anova(X_train, y, fp, 3, 5)
```

## Manual Binning
Behind the scenes, Cyclic Boosting works by combining a binning method (e.g.,
[BinNumberTransformer](https://github.com/Blue-Yonder-OSS/cyclic-boosting/blob/main/cyclic_boosting/binning/bin_number_transformer.py))
Expand Down Expand Up @@ -175,7 +183,7 @@ There is also a ready-made end-to-end practical training chain, employing
quantile transformations to impose constraints on the target range (for bound
or semi-bound scenarios) and maintain the order of symmetric-percentile triplet
predictions (from an arbitrary quantile regression method, not restricted to
Cyclic Boosting) used for J-QPD:
Cyclic Boosting) used for J-QPD (and its [extensions](https://github.com/Blue-Yonder-OSS/cyclic-boosting/blob/main/docs/JQPDregression.pdf)):
```python
from cyclic_boosting.pipelines import pipeline_CBAdditiveQuantileRegressor
from cyclic_boosting.quantile_matching import QPD_RegressorChain
Expand Down

0 comments on commit 7a0bd22

Please sign in to comment.