@@ -27,7 +27,7 @@ class NeighborhoodComponentAnalysis(BaseEstimator, TransformerMixin):
2727
2828 Parameters
2929 ----------
30- n_features_out: int, optional (default=None)
30+ n_features_out : int, optional (default=None)
3131 Preferred dimensionality of the embedding.
3232
3333 init : string or numpy array, optional (default='pca')
@@ -87,10 +87,10 @@ class NeighborhoodComponentAnalysis(BaseEstimator, TransformerMixin):
8787 Attributes
8888 ----------
8989 transformation_ : array, shape (n_features_out, n_features)
90- The linear transformation learned during fitting.
90+ The linear transformation learned during fitting.
9191
9292 n_iter_ : int
93- Counts the number of iterations performed by the optimizer.
93+ Counts the number of iterations performed by the optimizer.
9494
9595 opt_result_ : scipy.optimize.OptimizeResult (optional)
9696 A dictionary of information representing the optimization result.
@@ -121,9 +121,9 @@ class NeighborhoodComponentAnalysis(BaseEstimator, TransformerMixin):
121121 Notes
122122 -----
123123 Neighborhood Component Analysis (NCA) is a machine learning algorithm for
124- metric learning. It learns a linear transformation of the space in a
125- supervised fashion to improve the classification accuracy of a
126- stochastic nearest neighbors rule in this new space.
124+ metric learning. It learns a linear transformation in a supervised fashion
125+ to improve the classification accuracy of a stochastic nearest neighbors
126+ rule in the new space.
127127
128128 .. warning::
129129
0 commit comments