Skip to content

Commit 6338fa2

Browse files
committed
[ci skip] MTN Added model state to the glossary (#857) 8b79bc0
1 parent 582e2c9 commit 6338fa2

File tree

3 files changed

+23
-5
lines changed

3 files changed

+23
-5
lines changed

_sources/appendix/glossary.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,14 @@ In scikit-learn jargon: an [estimator](#estimator) that takes another
210210
Generic term that refers to something that can [learn](#train-learn-fit)
211211
[prediction](#predict-prediction) rules from the data.
212212

213+
### model state
214+
215+
Set of numerical values that an [estimator](#estimator) learns during training.
216+
They summarize patterns in the data (limited to what the [estimator](#estimator)
217+
can represent), and are stored for later predictions or transformations.
218+
Examples include the slope and intercept in a linear regression; or the
219+
per-feature mean and standard deviation in a standard scaler.
220+
213221
### overfitting
214222

215223
Overfitting occurs when your [model](#model) stick too closely to the [training
@@ -357,8 +365,8 @@ In a more abstract manner, we can represent fitting with the following diagram:
357365

358366
![img](https://inria.github.io/scikit-learn-mooc/_images/api_diagram-predictor.fit.svg)
359367

360-
The model state are indeed the parameters and the jockey wheels are referring to
361-
an optimization algorithm to find the best parameters.
368+
The [model state](#model-state) are indeed the parameters and the jockey wheels
369+
are referring to an optimization algorithm to find the best parameters.
362370

363371
### train set
364372

appendix/glossary.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,6 +677,7 @@ <h2> Contents </h2>
677677
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#learned-parameters">learned parameters</a></li>
678678
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#meta-estimator">meta-estimator</a></li>
679679
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#model">model</a></li>
680+
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#model-state">model state</a></li>
680681
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#overfitting">overfitting</a></li>
681682
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#predictor">predictor</a></li>
682683
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#predict-prediction">predict, prediction</a></li>
@@ -902,6 +903,14 @@ <h3>model<a class="headerlink" href="#model" title="Link to this heading">#</a><
902903
<p>Generic term that refers to something that can <a class="reference internal" href="#train-learn-fit"><span class="xref myst">learn</span></a>
903904
<a class="reference internal" href="#predict-prediction"><span class="xref myst">prediction</span></a> rules from the data.</p>
904905
</section>
906+
<section id="model-state">
907+
<h3>model state<a class="headerlink" href="#model-state" title="Link to this heading">#</a></h3>
908+
<p>Set of numerical values that an <a class="reference internal" href="#estimator"><span class="xref myst">estimator</span></a> learns during training.
909+
They summarize patterns in the data (limited to what the <a class="reference internal" href="#estimator"><span class="xref myst">estimator</span></a>
910+
can represent), and are stored for later predictions or transformations.
911+
Examples include the slope and intercept in a linear regression; or the
912+
per-feature mean and standard deviation in a standard scaler.</p>
913+
</section>
905914
<section id="overfitting">
906915
<h3>overfitting<a class="headerlink" href="#overfitting" title="Link to this heading">#</a></h3>
907916
<p>Overfitting occurs when your <a class="reference internal" href="#model"><span class="xref myst">model</span></a> stick too closely to the <a class="reference internal" href="#train-set"><span class="xref myst">training
@@ -1029,8 +1038,8 @@ <h3>train, learn, fit<a class="headerlink" href="#train-learn-fit" title="Link t
10291038
possible parameters <code class="docutils literal notranslate"><span class="pre">a</span></code> and <code class="docutils literal notranslate"><span class="pre">b</span></code> fulfilling this requirement.</p>
10301039
<p>In a more abstract manner, we can represent fitting with the following diagram:</p>
10311040
<p><img alt="img" src="https://inria.github.io/scikit-learn-mooc/_images/api_diagram-predictor.fit.svg" /></p>
1032-
<p>The model state are indeed the parameters and the jockey wheels are referring to
1033-
an optimization algorithm to find the best parameters.</p>
1041+
<p>The <a class="reference internal" href="#model-state"><span class="xref myst">model state</span></a> are indeed the parameters and the jockey wheels
1042+
are referring to an optimization algorithm to find the best parameters.</p>
10341043
</section>
10351044
<section id="train-set">
10361045
<h3>train set<a class="headerlink" href="#train-set" title="Link to this heading">#</a></h3>
@@ -1180,6 +1189,7 @@ <h2>Other useful glossaries<a class="headerlink" href="#other-useful-glossaries"
11801189
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#learned-parameters">learned parameters</a></li>
11811190
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#meta-estimator">meta-estimator</a></li>
11821191
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#model">model</a></li>
1192+
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#model-state">model state</a></li>
11831193
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#overfitting">overfitting</a></li>
11841194
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#predictor">predictor</a></li>
11851195
<li class="toc-h3 nav-item toc-entry"><a class="reference internal nav-link" href="#predict-prediction">predict, prediction</a></li>

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)