[MRG] Deleted 'optional' specifier #16210
[MRG] Deleted 'optional' specifier #16210fraboeni wants to merge 1 commit intoscikit-learn:masterfrom
Conversation
NicolasHug
left a comment
There was a problem hiding this comment.
thanks for the PR, a few comments
| Returns | ||
| ------- | ||
| X_new : {array, sparse matrix}, \ | ||
| X_new : {array-like, sparse matrix}, \ |
There was a problem hiding this comment.
| X_new : {array-like, sparse matrix}, \ | |
| X_new : {ndarray, sparse matrix}, \ |
| Degree of the polynomial kernel. Ignored by other kernels. | ||
|
|
||
| kernel_params : mapping of string to any, optional | ||
| kernel_params : mapping of string to any |
There was a problem hiding this comment.
| kernel_params : mapping of string to any | |
| kernel_params : dict, default=None |
| Attributes | ||
| ---------- | ||
| components_ : array, shape (n_components, n_features) | ||
| components_ : array-like of shape (n_components, n_features) |
There was a problem hiding this comment.
should be ndarray here and below
| Returns | ||
| ------- | ||
| X_transformed : array, shape=(n_samples, n_components) | ||
| X_transformed : array-like of shape (n_samples, n_components) |
| sample_steps : int | ||
| Gives the number of (complex) sampling points. | ||
| sample_interval : float, optional | ||
| sample_interval : float |
There was a problem hiding this comment.
| sample_interval : float | |
| sample_interval : float, default=None |
| Equals the dimensionality of the computed feature space. | ||
|
|
||
| random_state : int, RandomState instance or None, optional (default=None) | ||
| random_state : int, RandomState instance or None, default=None |
There was a problem hiding this comment.
| random_state : int, RandomState instance or None, default=None | |
| random_state : int, RandomState instance, default=None |
| Equals the dimensionality of the computed feature space. | ||
|
|
||
| random_state : int, RandomState instance or None, optional (default=None) | ||
| random_state : int, RandomState instance or None, default=None |
There was a problem hiding this comment.
| random_state : int, RandomState instance or None, default=None | |
| random_state : int, RandomState instance, default=None |
| sample_steps : int | ||
| Gives the number of (complex) sampling points. | ||
| sample_interval : float, optional | ||
| sample_interval : float |
There was a problem hiding this comment.
| sample_interval : float | |
| sample_interval : float, default=None |
| Parameters | ||
| ---------- | ||
| sample_steps : int, optional | ||
| sample_steps : int |
There was a problem hiding this comment.
| sample_steps : int | |
| sample_steps : int, default=2 |
| How many data points will be used to construct the mapping. | ||
|
|
||
| random_state : int, RandomState instance or None, optional (default=None) | ||
| random_state : int, RandomState instance or None, default=None |
There was a problem hiding this comment.
| random_state : int, RandomState instance or None, default=None | |
| random_state : int, RandomState instance, default=None |
|
@fraboeni can you continue to work on this? |
Unfortunately, I am so busy at work at the moment, that I don't find the time. |
|
@fraboeni thanks for letting us know. |
|
Take |
|
Closed by #17473. |
with @lopusz and @magda-zielinska
Reference Issues/PRs
#15761
What does this implement/fix? Explain your changes.
Deletes optional specifier and changes array to array-like