From 8e177963afe9eed29227ef1c0b4c599e41d60a78 Mon Sep 17 00:00:00 2001 From: "Carlos A. Iglesias" Date: Wed, 25 Feb 2026 16:32:10 +0100 Subject: [PATCH] Update 2_5_0_Machine_Learning.ipynb Updated image path --- ml1/2_5_0_Machine_Learning.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ml1/2_5_0_Machine_Learning.ipynb b/ml1/2_5_0_Machine_Learning.ipynb index 3afcf7e..6f9952c 100644 --- a/ml1/2_5_0_Machine_Learning.ipynb +++ b/ml1/2_5_0_Machine_Learning.ipynb @@ -72,7 +72,7 @@ "Machine learning algorithms are programs that learn a model from a dataset to make predictions or learn structures to organize the data.\n", "\n", "In scikit-learn, machine learning algorithms take as input a *numpy* array (n_samples, n_features), where\n", - "* **n_samples**: number of samples. Each sample is an item to process (i.e., classify). A sample can be a document, a picture, a sound, a video, a row in a database or CSV file, or whatever you can describe with a fixed set of quantitative traits.\n", + "* **n_samples**: number of samples. Each sample is an item to be processed (i.e., classified). A sample can be a document, a picture, a sound, a video, a row in a database or CSV file, or whatever you can describe with a fixed set of quantitative traits.\n", "* **n_features**: The number of features or distinct traits that can be used to describe each item quantitatively.\n", "\n", "The number of features should be defined in advance. A specific type of feature set is high-dimensional (e.g., millions of features), but most values are zero for a given sample. Using (numpy) arrays, all those zero values would also take up memory. For this reason, these feature sets are often represented with sparse matrices (scipy.sparse) instead of (numpy) arrays.\n", @@ -112,7 +112,7 @@ "metadata": {}, "source": [ "In *unsupervised machine learning models*, the machine learning model algorithm takes as input the feature vectors. It produces a predictive model that is used to fit its parameters to summarize the best regularities found in the data.\n", - "![](files/images/plot_ML_flow_chart_3.png)" + "![](./images/plot_ML_flow_chart_3.png)" ] }, { @@ -140,7 +140,7 @@ " * **model.fit_transform()**: Some estimators implement this method, which performs a fit and a transform on the same input data.\n", "\n", "\n", - "![](files/images/plot_ML_flow_chart_2.png)" + "![](./images/plot_ML_flow_chart_2.png)" ] }, {