Skip to content

Commit 3e6210c

Browse files
committed
PyCaret: Implement suggestions by CodeRabbit
1 parent 35fbba5 commit 3e6210c

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed

docs/integrate/pycaret/index.md

Lines changed: 11 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
```{div}
55
:style: "float: right; margin-left: 1em"
6-
[![](https://github.com/crate/crate-clients-tools/assets/453543/b17a59e2-6801-4f53-892f-ff472491095f){w=180px}](https://pycaret.org/)
6+
[![PyCaret logo](https://github.com/crate/crate-clients-tools/assets/453543/b17a59e2-6801-4f53-892f-ff472491095f){w=180px}](https://pycaret.org/)
77
```
88
```{div}
99
:style: "clear: both"
@@ -16,17 +16,16 @@
1616
automates machine learning workflows.
1717

1818
It is a high-level interface and AutoML wrapper on top of your loved machine learning
19-
libraries like scikit-learn, xgboost, ray, lightgbm, and many more. PyCaret provides a
19+
libraries like scikit-learn, XGBoost, Ray, LightGBM, and many more. PyCaret provides a
2020
universal interface to utilize these libraries without needing to know the details
2121
of the underlying model architectures and parameters.
2222

2323
:::{rubric} Concept
2424
:::
2525

26-
The general concept of PyCaret - and for the matter of fact for AutoML in general -
27-
is rather simple: One takes the raw data, splits it into a training and a test set
28-
and then trains a number of different models on the training set. The models are
29-
then evaluated on the test set and the best performing model is selected.
26+
The general concept of PyCaret—and, in fact, of AutoML in general—is straightforward:
27+
take raw data, split it into training and test sets, train multiple models on the
28+
training set, evaluate on the test set, and select the best‑performing model.
3029

3130
:::{rubric} Hyperparameter tuning
3231
:::
@@ -36,17 +35,16 @@ Again, this process is highly empirical. The parameters are changed, the model i
3635
retrained and evaluated again. This process is repeated until the best performing
3736
parameters are found.
3837

39-
Modern algorithms for executing all these experiments are - amongst others -
40-
GridSearch, RandomSearch and BayesianSearch. For a quick introduction into
41-
these methods, see [Introduction to hyperparameter tuning].
38+
Common approaches include Grid Search, Random Search, and Bayesian Optimization.
39+
For a quick introduction to these methods, see [Introduction to hyperparameter tuning].
4240

4341
:::{rubric} Benefits
4442
:::
4543

4644
In the past, all these trial-and-error experiments had to be done manually,
4745
which is a tedious and time-consuming task. PyCaret automates this process
4846
and provides a simple interface to execute all these experiments in a
49-
straight-forward way. The notebooks referenced below demonstrate how this works.
47+
straightforward way. The notebooks referenced below demonstrate how this works.
5048

5149
:::{rubric} Learn
5250
:::
@@ -68,9 +66,7 @@ classification models.
6866
:::{grid-item}
6967
:columns: 3
7068
{tags-primary}`Fundamentals` \
71-
{tags-secondary}`Time Series` \
72-
{tags-secondary}`Anomaly Detection` \
73-
{tags-secondary}`Prediction / Forecasting`
69+
{tags-secondary}`Classification`
7470
:::
7571
::::
7672

@@ -89,15 +85,13 @@ How to train time series forecasting models using PyCaret and CrateDB.
8985
:columns: 3
9086
{tags-primary}`Fundamentals` \
9187
{tags-secondary}`Time Series` \
92-
{tags-secondary}`Training` \
93-
{tags-secondary}`Classification` \
94-
{tags-secondary}`Forecasting`
88+
{tags-secondary}`Prediction / Forecasting`
9589
:::
9690
::::
9791

9892

9993
[AutoML with PyCaret and CrateDB]: https://github.com/crate/cratedb-examples/tree/main/topic/machine-learning/pycaret
100-
[automl-classify-github]: https://github.com/crate/cratedb-examples/blob/main/topic/machine-learning/pycaret/automl_classification_with_pycaret.py
94+
[automl-classify-github]: https://github.com/crate/cratedb-examples/blob/main/topic/machine-learning/pycaret/automl_classification_with_pycaret.ipynb
10195
[automl-classify-colab]: https://colab.research.google.com/github/crate/cratedb-examples/blob/main/topic/machine-learning/pycaret/automl_classification_with_pycaret.ipynb
10296
[automl-forecasting-github]: https://github.com/crate/cratedb-examples/blob/main/topic/machine-learning/pycaret/automl_timeseries_forecasting_with_pycaret.ipynb
10397
[automl-forecasting-colab]: https://colab.research.google.com/github/crate/cratedb-examples/blob/main/topic/machine-learning/pycaret/automl_timeseries_forecasting_with_pycaret.ipynb

0 commit comments

Comments
 (0)