@@ -3459,8 +3459,10 @@ def inverse(self, values):
3459
3459
values : array-like
3460
3460
The input data, as an iterable or a structured numpy array.
3461
3461
3462
- - If iterable, must be of length `n_components`
3463
- - If structured array, must have `n_components` fields.
3462
+ - If iterable, must be of length `n_components`. Each element can be a
3463
+ scalar or array-like and is normalized through the correspong norm.
3464
+ - If structured array, must have `n_components` fields. Each field
3465
+ is normalized through the the corresponding norm.
3464
3466
3465
3467
"""
3466
3468
values = self ._iterable_components_in_data (values , self .n_components )
@@ -3475,8 +3477,12 @@ def autoscale(self, A):
3475
3477
Parameters
3476
3478
----------
3477
3479
A : array-like
3478
- Data, must be of length `n_components` or be a structured scalar or
3479
- structured array with `n_components` fields.
3480
+ The input data, as an iterable or a structured numpy array.
3481
+
3482
+ - If iterable, must be of length `n_components`. Each element
3483
+ is used for the limits of one constituent norm.
3484
+ - If structured array, must have `n_components` fields. Each field
3485
+ is used for the limits of one constituent norm.
3480
3486
"""
3481
3487
with self .callbacks .blocked ():
3482
3488
# Pause callbacks while we are updating so we only get
@@ -3493,9 +3499,13 @@ def autoscale_None(self, A):
3493
3499
3494
3500
Parameters
3495
3501
----------
3496
- A
3497
- Data, must be of length `n_components` or be a structured array
3498
- with `n_components` fields.
3502
+ A : array-like
3503
+ The input data, as an iterable or a structured numpy array.
3504
+
3505
+ - If iterable, must be of length `n_components`. Each element
3506
+ is used for the limits of one constituent norm.
3507
+ - If structured array, must have `n_components` fields. Each field
3508
+ is used for the limits of one constituent norm.
3499
3509
"""
3500
3510
with self .callbacks .blocked ():
3501
3511
A = self ._iterable_components_in_data (A , self .n_components )
@@ -3512,7 +3522,7 @@ def _iterable_components_in_data(data, n_components):
3512
3522
"""
3513
3523
Provides an iterable over the components contained in the data.
3514
3524
3515
- An input array with `n_components` fields is returned as a list of length n
3525
+ An input array with `n_components` fields is returned as a tuple of length n
3516
3526
referencing slices of the original array.
3517
3527
3518
3528
Parameters
0 commit comments