From 6c8e2d6911fbbb26f8f0479fba547c186589fc0d Mon Sep 17 00:00:00 2001 From: Kristian Aune Date: Tue, 8 Apr 2025 08:22:53 +0200 Subject: [PATCH 1/3] Test more notebooks --- .github/workflows/verify-notebooks.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/verify-notebooks.yml b/.github/workflows/verify-notebooks.yml index e1a312705..2d6753c9f 100644 --- a/.github/workflows/verify-notebooks.yml +++ b/.github/workflows/verify-notebooks.yml @@ -7,14 +7,14 @@ on: paths: - ".github/workflows/verify-notebooks.yml" - "examples/model-deployment/" - - "text-image-search/" + - "commerce-product-ranking/notebooks" pull_request: branches: - master paths: - ".github/workflows/verify-notebooks.yml" - "examples/model-deployment/" - - "text-image-search/" + - "commerce-product-ranking/notebooks" defaults: run: @@ -32,7 +32,14 @@ jobs: run: | pip install --upgrade -qqq pytest notebook nbconvert runnb pandas torch numpy scikit-learn - - name: Run Notebooks + - name: Run ONNXModelExport working-directory: examples/model-deployment run: | runnb --allow-not-trusted ONNXModelExport.ipynb + + - name: Run commerce-product-ranking notebooks + working-directory: commerce-product-ranking/notebooks + run: | + runnb --allow-not-trusted Train-lightgbm.ipynb + runnb --allow-not-trusted Train-xgboost.ipynb + runnb --allow-not-trusted train_neural.ipynb From ef2a10a6508a2937fccc5c56f6703ccbfa6065fa Mon Sep 17 00:00:00 2001 From: Kristian Aune Date: Tue, 8 Apr 2025 08:30:17 +0200 Subject: [PATCH 2/3] install pyarrow --- commerce-product-ranking/notebooks/Train-lightgbm.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commerce-product-ranking/notebooks/Train-lightgbm.ipynb b/commerce-product-ranking/notebooks/Train-lightgbm.ipynb index 95d618dcf..ba6b50fa6 100644 --- a/commerce-product-ranking/notebooks/Train-lightgbm.ipynb +++ b/commerce-product-ranking/notebooks/Train-lightgbm.ipynb @@ -54,7 +54,7 @@ } ], "source": [ - "!pip3 install pandas lightgbm numpy" + "!pip3 install pandas lightgbm numpy pyarrow" ] }, { From a979e9d12ad244f873b3b1d441c4abfeed03290c Mon Sep 17 00:00:00 2001 From: Kristian Aune Date: Tue, 8 Apr 2025 09:05:21 +0200 Subject: [PATCH 3/3] install matplotlib --- commerce-product-ranking/notebooks/Train-lightgbm.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commerce-product-ranking/notebooks/Train-lightgbm.ipynb b/commerce-product-ranking/notebooks/Train-lightgbm.ipynb index ba6b50fa6..766962e28 100644 --- a/commerce-product-ranking/notebooks/Train-lightgbm.ipynb +++ b/commerce-product-ranking/notebooks/Train-lightgbm.ipynb @@ -54,7 +54,7 @@ } ], "source": [ - "!pip3 install pandas lightgbm numpy pyarrow" + "!pip3 install pandas lightgbm numpy pyarrow matplotlib" ] }, {