8000 MAINT Fixing Typos (#11017) · scikit-learn/scikit-learn@3e26fc6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e26fc6

Browse files
nnadeaujnothman
authored andcommitted
MAINT Fixing Typos (#11017)
1 parent d9a0774 commit 3e26fc6

File tree

31 files changed

+54
-54
lines changed

31 files changed

+54
-54
lines changed

benchmarks/bench_plot_randomized_svd.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
goal: study whether the rank of the matrix and the number of components
3232
extracted by randomized SVD affect "the optimal" number of power iterations
3333
34-
(c) plot: time vs norm, varing datasets
34+
(c) plot: time vs norm, varying datasets
3535
data: many datasets
3636
goal: compare default configurations
3737

doc/developers/maintainer.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,5 @@ The definition of what gets run in the Cron job is done in the .travis.yml
8484
config file, exactly the same way as the other Travis jobs. We use a ``if: type
8585
= cron`` filter in order for the build to be run only in Cron jobs.
8686

87-
The branch targetted by the Cron job and the frequency of the Cron job is set
87+
The branch targeted by the Cron job and the frequency of the Cron job is set
8888
via the web UI at https://www.travis-ci.org/scikit-learn/scikit-learn/settings.

doc/glossary.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ Target Types
990990
:term:`outputs`, each one a finite floating point number, for a
991991
fixed int ``n_outputs > 1`` in a particular dataset.
992992

993-
Continous multioutput targets are represented as multiple
993+
Continuous multioutput targets are represented as multiple
994994
:term:`continuous` targets, horizontally stacked into an array
995995
of shape ``(n_samples, n_outputs)``.
996996

doc/themes/scikit-learn/static/nature.css_t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ div.warning-wrapper p {
786786
}
787787

788788

789-
/*-----------------------The Code Sprint Sponser Banner---------------------*/
789+
/*-----------------------The Code Sprint Sponsor Banner---------------------*/
790790

791791
div.sprint-wrapper {
792792
font-weight: bold;

doc/tutorial/machine_learning_map/ML_MAPS_README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ so I'll try to make it as simple as possible.
1919

2020
Use a Graphics editor like Inkscape Vector Graphics Editor
2121
to open the ml_map.svg file, in this folder. From there
22-
you can move objects around, ect. as you need.
22+
you can move objects around, etc. as you need.
2323

2424
Save when done, and make sure to export a .PNG file
2525
to replace the old-outdated ml_map.png, as that file

doc/tutorial/machine_learning_map/pyparsing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1604,7 +1604,7 @@ def parseString( self, instring, parseAll=False ):
16041604
(see L{I{parseWithTabs}<parseWithTabs>})
16051605
- define your parse action using the full C{(s,loc,toks)} signature, and
16061606
reference the input string using the parse action's C{s} argument
1607-
- explictly expand the tabs in your input string before calling
1607+
- explicitly expand the tabs in your input string before calling
16081608
C{parseString}
16091609
16101610
Example::

doc/whats_new/v0.19.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ Trees and ensembles
807807
- All tree based estimators now accept a ``min_impurity_decrease``
808808
parameter in lieu of the ``min_impurity_split``, which is now deprecated.
809809
The ``min_impurity_decrease`` helps stop splitting the nodes in which
810-
the weighted impurity decrease from splitting is no longer alteast
810+
the weighted impurity decrease from splitting is no longer atleast
811811
``min_impurity_decrease``. :issue:`8449` by `Raghav RV`_.
812812

813813
Linear, kernelized and related models

examples/gaussian_process/plot_gpc_isoprobability.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def g(x):
4646
# Observations
4747
y = np.array(g(X) > 0, dtype=int)
4848

49-
# Instanciate and fit Gaussian Process Model
49+
# Instantiate and fit Gaussian Process Model
5050
kernel = C(0.1, (1e-5, np.inf)) * DotProduct(sigma_0=0.1) ** 2
5151
gp = GaussianProcessClassifier(kernel=kernel)
5252
gp.fit(X, y)

examples/gaussian_process/plot_gpr_noisy_targets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def f(x):
4949
# its MSE
5050
x = np.atleast_2d(np.linspace(0, 10, 1000)).T
5151

52-
# Instanciate a Gaussian Process model
52+
# Instantiate a Gaussian Process model
5353
kernel = C(1.0, (1e-3, 1e3)) * RBF(10, (1e-2, 1e2))
5454
gp = GaussianProcessRegressor(kernel=kernel, n_restarts_optimizer=9)
5555

examples/preprocessing/plot_scaling_importance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
pca = unscaled_clf.named_steps['pca']
9090
pca_std = std_clf.named_steps['pca']
9191

92-
# Show first principal componenets
92+
# Show first principal components
9393
print('\nPC 1 without scaling:\n', pca.components_[0])
9494
print('\nPC 1 with scaling:\n', pca_std.components_[0])
9595

0 commit comments

Comments
 (0)
0