Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix docstring underline lengths #6895

Merged
merged 1 commit into from Apr 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions skimage/feature/fisher_vector.py
Expand Up @@ -50,7 +50,7 @@ def learn_gmm(descriptors, *, n_modes=32, gm_args=None):
the resultant Fisher vectors has maximal performance.

Parameters
-----------
----------
descriptors : np.ndarray (N, M) or list [(N1, M), (N2, M), ...]
List of NumPy arrays, or a single NumPy array, of the descriptors
used to estimate the GMM. The reason a list of NumPy arrays is
Expand All @@ -74,7 +74,7 @@ def learn_gmm(descriptors, *, n_modes=32, gm_args=None):
needed to compute the Fisher vector.

References
-----------
----------
.. [1] https://scikit-learn.org/stable/modules/generated/sklearn.mixture.GaussianMixture.html

Examples
Expand Down Expand Up @@ -160,7 +160,7 @@ def fisher_vector(descriptors, gmm, *, improved=False, alpha=0.5):
and an associated estimated GMM.

Parameters
-----------
----------
descriptors : np.ndarray, shape=(n_descriptors, descriptor_length)
NumPy array of the descriptors for which the Fisher vector
representation is to be computed.
Expand All @@ -187,7 +187,7 @@ def fisher_vector(descriptors, gmm, *, improved=False, alpha=0.5):
descriptors/vectors.

References
-----------
----------
.. [1] Perronnin, F. and Dance, C. Fisher kernels on Visual Vocabularies
for Image Categorization, IEEE Conference on Computer Vision and
Pattern Recognition, 2007
Expand Down
2 changes: 1 addition & 1 deletion skimage/util/_slice_along_axes.py
Expand Up @@ -19,7 +19,7 @@ def slice_along_axes(image, slices, axes=None, copy=False):
If True, ensure that the output is not a view of `image`.

Returns
----------
-------
out : ndarray
The region of `image` corresponding to the given slices and axes.

Expand Down