17725
12269
sklearn.pipeline.Pipeline(step_0=sklearn.preprocessing._data.MinMaxScaler,step_1=sklearn.discriminant_analysis.LinearDiscriminantAnalysis)
sklearn.Pipeline(MinMaxScaler,LinearDiscriminantAnalysis)
sklearn.pipeline.Pipeline
1
openml==0.10.2,sklearn==0.22.1
Pipeline of transforms with a final estimator.
Sequentially apply a list of transforms and a final estimator.
Intermediate steps of the pipeline must be 'transforms', that is, they
must implement fit and transform methods.
The final estimator only needs to implement fit.
The transformers in the pipeline can be cached using ``memory`` argument.
The purpose of the pipeline is to assemble several steps that can be
cross-validated together while setting different parameters.
For this, it enables setting parameters of the various steps using their
names and the parameter name separated by a '__', as in the example below.
A step's estimator may be replaced entirely by setting the parameter
with its name to another estimator, or a transformer removed by setting
it to 'passthrough' or ``None``.
2020-05-18T23:43:35
English
sklearn==0.22.1
numpy>=1.6.1
scipy>=0.9
memory
None
null
Used to cache the fitted transformers of the pipeline. By default,
no caching is performed. If a string is given, it is the path to
the caching directory. Enabling caching triggers a clone of
the transformers before fitting. Therefore, the transformer
instance given to the pipeline cannot be inspected
directly. Use the attribute ``named_steps`` or ``steps`` to
inspect estimators within the pipeline. Caching the
transformers is advantageous when fitting is time consuming
steps
list
[{"oml-python:serialized_object": "component_reference", "value": {"key": "step_0", "step_name": "step_0"}}, {"oml-python:serialized_object": "component_reference", "value": {"key": "step_1", "step_name": "step_1"}}]
List of (name, transform) tuples (implementing fit/transform) that are
chained, in the order in which they are chained, with the last object
an estimator
verbose
bool
false
If True, the time elapsed while fitting each step will be printed as it
is completed.
step_1
17705
12269
sklearn.discriminant_analysis.LinearDiscriminantAnalysis
sklearn.LinearDiscriminantAnalysis
sklearn.discriminant_analysis.LinearDiscriminantAnalysis
4
openml==0.10.2,sklearn==0.22.1
Linear Discriminant Analysis
A classifier with a linear decision boundary, generated by fitting class
conditional densities to the data and using Bayes' rule.
The model fits a Gaussian density to each class, assuming that all classes
share the same covariance matrix.
The fitted model can also be used to reduce the dimensionality of the input
by projecting it to the most discriminative directions.
.. versionadded:: 0.17
*LinearDiscriminantAnalysis*.
2020-05-18T19:46:37
English
sklearn==0.22.1
numpy>=1.6.1
scipy>=0.9
n_components
int
346
Number of components (<= min(n_classes - 1, n_features)) for
dimensionality reduction. If None, will be set to
min(n_classes - 1, n_features)
priors
array
null
Class priors
shrinkage
string or float
0.4904334135320484
Shrinkage parameter, possible values:
- None: no shrinkage (default)
- 'auto': automatic shrinkage using the Ledoit-Wolf lemma
- float between 0 and 1: fixed shrinkage parameter
Note that shrinkage works only with 'lsqr' and 'eigen' solvers
solver
string
"eigen"
Solver to use, possible values:
- 'svd': Singular value decomposition (default)
Does not compute the covariance matrix, therefore this solver is
recommended for data with a large number of features
- 'lsqr': Least squares solution, can be combined with shrinkage
- 'eigen': Eigenvalue decomposition, can be combined with shrinkage
store_covariance
bool
false
Additionally compute class covariance matrix (default False), used
only in 'svd' solver
.. versionadded:: 0.17
tol
float
0.0012994132677570124
Threshold used for rank estimation in SVD solver
.. versionadded:: 0.17
openml-python
python
scikit-learn
sklearn
sklearn_0.22.1
step_0
17726
12269
sklearn.preprocessing._data.MinMaxScaler
sklearn.MinMaxScaler
sklearn.preprocessing._data.MinMaxScaler
1
openml==0.10.2,sklearn==0.22.1
Transform features by scaling each feature to a given range.
This estimator scales and translates each feature individually such
that it is in the given range on the training set, e.g. between
zero and one.
The transformation is given by::
X_std = (X - X.min(axis=0)) / (X.max(axis=0) - X.min(axis=0))
X_scaled = X_std * (max - min) + min
where min, max = feature_range.
The transformation is calculated as::
X_scaled = scale * X + min - X.min(axis=0) * scale
where scale = (max - min) / (X.max(axis=0) - X.min(axis=0))
This transformation is often used as an alternative to zero mean,
unit variance scaling.
2020-05-18T23:43:35
English
sklearn==0.22.1
numpy>=1.6.1
scipy>=0.9
copy
bool
false
Set to False to perform inplace row normalization and avoid a
copy (if the input is already a numpy array).
feature_range
tuple
[0, 1]
Desired range of transformed data
openml-python
python
scikit-learn
sklearn
sklearn_0.22.1
openml-python
python
scikit-learn
sklearn
sklearn_0.22.1