Skip to content

Commit 74d3fcf

Browse files
committed
Merge pull request #2826 from perimosocordiae/patch-1
DOC: grammar and spelling fixes for label propagation
2 parents d6eb004 + e3f1c50 commit 74d3fcf

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

doc/modules/label_propagation.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ Semi-Supervised
99
`Semi-supervised learning
1010
<http://en.wikipedia.org/wiki/Semi-supervised_learning>`_ is a situation
1111
in which in your training data some of the samples are not labeled. The
12-
semi-supervised estimators, in :mod:`sklean.semi_supervised` are able to
13-
make use of this addition unlabeled data to capture better the shape of
12+
semi-supervised estimators in :mod:`sklearn.semi_supervised` are able to
13+
make use of this additional unlabeled data to better capture the shape of
1414
the underlying data distribution and generalize better to new samples.
1515
These algorithms can perform well when we have a very small amount of
1616
labeled points and a large amount of unlabeled points.
@@ -19,14 +19,14 @@ labeled points and a large amount of unlabeled points.
1919

2020
It is important to assign an identifier to unlabeled points along with the
2121
labeled data when training the model with the `fit` method. The identifier
22-
that this implementation uses the integer value :math:`-1`.
22+
that this implementation uses is the integer value :math:`-1`.
2323

2424
.. _label_propagation:
2525

2626
Label Propagation
2727
=================
2828

29-
Label propagation denote a few variations of semi-supervised graph
29+
Label propagation denotes a few variations of semi-supervised graph
3030
inference algorithms.
3131

3232
A few features available in this model:
@@ -75,11 +75,11 @@ available:
7575
* knn (:math:`1[x' \in kNN(x)]`). :math:`k` is specified by keyword
7676
n_neighbors.
7777

78-
RBF kernel will produce a fully connected graph which is represented in memory
78+
The RBF kernel will produce a fully connected graph which is represented in memory
7979
by a dense matrix. This matrix may be very large and combined with the cost of
8080
performing a full matrix multiplication calculation for each iteration of the
8181
algorithm can lead to prohibitively long running times. On the other hand,
82-
the KNN kernel will produce a much more memory friendly sparse matrix
82+
the KNN kernel will produce a much more memory-friendly sparse matrix
8383
which can drastically reduce running times.
8484

8585
.. topic:: Examples

0 commit comments

Comments
 (0)