From 1f6272fc0a5066da649d160e82b7eb8c6cd2e1e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francesc=20Mart=C3=AD=20Escofet?= Date: Thu, 25 Jul 2024 14:55:32 +0200 Subject: [PATCH] Fix text --- docs/examples/example_onnx.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/examples/example_onnx.ipynb b/docs/examples/example_onnx.ipynb index ae871ef7..110623de 100644 --- a/docs/examples/example_onnx.ipynb +++ b/docs/examples/example_onnx.ipynb @@ -145,7 +145,7 @@ "source": [ "```{note}\n", "In this example we used all ``lightgbm`` models because these are the only type of models\n", - "that we managed to make them work natively with the categorical encoding from ``pandas``\n", + "that we managed to make them work with the categorical encoding from ``pandas``\n", "and their conversion to ONNX. Other ``sklearn`` models which support categoricals such as\n", "``HistGradientBoostingRegressor`` or ``xgboost`` models do not have support for them\n", "in their conversion to ONNX. See [this issue](https://github.com/onnx/sklearn-onnx/issues/1051)\n", @@ -156,7 +156,7 @@ "\n", "Before being able to convert the MetaLearner to ONXX we need to manually convert the necessary\n", "base models for the prediction. To get the necessary base models that need to be\n", - "converted we can use :meth:`~metalearners.MetaLearner._necessary_onnx_models`." + "converted we can use {meth}`~metalearners.metalearner.MetaLearner._necessary_onnx_models`." ] }, {