From 4bde4e39475f5c32a1f1a481d3d9c7507bb49f6a Mon Sep 17 00:00:00 2001 From: SebastienMelo Date: Wed, 10 Sep 2025 11:37:01 +0200 Subject: [PATCH 1/2] proposal for explantation of what are iterations --- python_scripts/02_numerical_pipeline_scaling.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python_scripts/02_numerical_pipeline_scaling.py b/python_scripts/02_numerical_pipeline_scaling.py index b3e899333..a0d6d790b 100644 --- a/python_scripts/02_numerical_pipeline_scaling.py +++ b/python_scripts/02_numerical_pipeline_scaling.py @@ -77,7 +77,9 @@ # # * Many models such as logistic regression use a numerical solver (based on # gradient descent) to find their optimal parameters. This solver converges -# faster when the features are scaled. +# faster when the features are scaled. Since the numerical solver converges +# step by step (called **iterations**) to the optimal solution, the total +# number of such iterations is reduced. # ``` # # Whether or not a machine learning model requires scaling the features depends From f2767a4b681c8e12674d9c214d3225a0dcac622c Mon Sep 17 00:00:00 2001 From: Arturo Amor <86408019+ArturoAmorQ@users.noreply.github.com> Date: Wed, 10 Sep 2025 15:29:27 +0200 Subject: [PATCH 2/2] Update python_scripts/02_numerical_pipeline_scaling.py --- python_scripts/02_numerical_pipeline_scaling.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python_scripts/02_numerical_pipeline_scaling.py b/python_scripts/02_numerical_pipeline_scaling.py index a0d6d790b..b34d0964e 100644 --- a/python_scripts/02_numerical_pipeline_scaling.py +++ b/python_scripts/02_numerical_pipeline_scaling.py @@ -77,9 +77,8 @@ # # * Many models such as logistic regression use a numerical solver (based on # gradient descent) to find their optimal parameters. This solver converges -# faster when the features are scaled. Since the numerical solver converges -# step by step (called **iterations**) to the optimal solution, the total -# number of such iterations is reduced. +# faster when the features are scaled, as it requires less steps (called +# **iterations**) to reach the optimal solution. # ``` # # Whether or not a machine learning model requires scaling the features depends