{"flow":{"id":"17792","uploader":"12269","name":"sklearn.pipeline.Pipeline(step_0=sklearn.preprocessing._data.PolynomialFeatures,step_1=sklearn.linear_model._stochastic_gradient.SGDClassifier)","custom_name":"sklearn.Pipeline(PolynomialFeatures,SGDClassifier)","class_name":"sklearn.pipeline.Pipeline","version":"1","external_version":"openml==0.10.2,sklearn==0.22.1","description":"Pipeline of transforms with a final estimator.\n\nSequentially apply a list of transforms and a final estimator.\nIntermediate steps of the pipeline must be 'transforms', that is, they\nmust implement fit and transform methods.\nThe final estimator only needs to implement fit.\nThe transformers in the pipeline can be cached using ``memory`` argument.\n\nThe purpose of the pipeline is to assemble several steps that can be\ncross-validated together while setting different parameters.\nFor this, it enables setting parameters of the various steps using their\nnames and the parameter name separated by a '__', as in the example below.\nA step's estimator may be replaced entirely by setting the parameter\nwith its name to another estimator, or a transformer removed by setting\nit to 'passthrough' or ``None``.","upload_date":"2020-05-19T00:05:07","language":"English","dependencies":"sklearn==0.22.1\nnumpy>=1.6.1\nscipy>=0.9","parameter":[{"name":"memory","data_type":"None","default_value":"null","description":"Used to cache the fitted transformers of the pipeline. By default,\n no caching is performed. If a string is given, it is the path to\n the caching directory. Enabling caching triggers a clone of\n the transformers before fitting. Therefore, the transformer\n instance given to the pipeline cannot be inspected\n directly. Use the attribute ``named_steps`` or ``steps`` to\n inspect estimators within the pipeline. Caching the\n transformers is advantageous when fitting is time consuming"},{"name":"steps","data_type":"list","default_value":"[{\"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\"}}]","description":"List of (name, transform) tuples (implementing fit\/transform) that are\n chained, in the order in which they are chained, with the last object\n an estimator"},{"name":"verbose","data_type":"bool","default_value":"false","description":"If True, the time elapsed while fitting each step will be printed as it\n is completed."}],"component":[{"identifier":"step_1","flow":{"id":"17703","uploader":"12269","name":"sklearn.linear_model._stochastic_gradient.SGDClassifier","custom_name":"sklearn.SGDClassifier","class_name":"sklearn.linear_model._stochastic_gradient.SGDClassifier","version":"2","external_version":"openml==0.10.2,sklearn==0.22.1","description":"Linear classifiers (SVM, logistic regression, a.o.) with SGD training.\n\nThis estimator implements regularized linear models with stochastic\ngradient descent (SGD) learning: the gradient of the loss is estimated\neach sample at a time and the model is updated along the way with a\ndecreasing strength schedule (aka learning rate). SGD allows minibatch\n(online\/out-of-core) learning, see the partial_fit method.\nFor best results using the default learning rate schedule, the data should\nhave zero mean and unit variance.\n\nThis implementation works with data represented as dense or sparse arrays\nof floating point values for the features. The model it fits can be\ncontrolled with the loss parameter; by default, it fits a linear support\nvector machine (SVM).\n\nThe regularizer is a penalty added to the loss function that shrinks model\nparameters towards the zero vector using either the squared euclidean norm\nL2 or the absolute norm L1 or a combination of both (Elastic Net). If the\nparameter update crosses the 0.0 value b...","upload_date":"2020-05-18T19:46:26","language":"English","dependencies":"sklearn==0.22.1\nnumpy>=1.6.1\nscipy>=0.9","parameter":[{"name":"alpha","data_type":"float","default_value":"18.576489600940455","description":"Constant that multiplies the regularization term. Defaults to 0.0001\n Also used to compute learning_rate when set to 'optimal'"},{"name":"average","data_type":"bool or int","default_value":"false","description":"When set to True, computes the averaged SGD weights and stores the\n result in the ``coef_`` attribute. If set to an int greater than 1,\n averaging will begin once the total number of samples seen reaches\n average. So ``average=10`` will begin averaging after seeing 10\n samples."},{"name":"class_weight","data_type":"dict","default_value":"null","description":"Preset for the class_weight fit parameter\n\n Weights associated with classes. If not given, all classes\n are supposed to have weight one\n\n The \"balanced\" mode uses the values of y to automatically adjust\n weights inversely proportional to class frequencies in the input data\n as ``n_samples \/ (n_classes * np.bincount(y))``"},{"name":"early_stopping","data_type":"bool","default_value":"true","description":"Whether to use early stopping to terminate training when validation\n score is not improving. If set to True, it will automatically set aside\n a stratified fraction of training data as validation and terminate\n training when validation score is not improving by at least tol for\n n_iter_no_change consecutive epochs\n\n .. versionadded:: 0.20"},{"name":"epsilon","data_type":"float","default_value":"0.9292126060861614","description":"Epsilon in the epsilon-insensitive loss functions; only if `loss` is\n 'huber', 'epsilon_insensitive', or 'squared_epsilon_insensitive'\n For 'huber', determines the threshold at which it becomes less\n important to get the prediction exactly right\n For epsilon-insensitive, any differences between the current prediction\n and the correct label are ignored if they are less than this threshold"},{"name":"eta0","data_type":"double","default_value":"0.8230008156002588","description":"The initial learning rate for the 'constant', 'invscaling' or\n 'adaptive' schedules. The default value is 0.0 as eta0 is not used by\n the default schedule 'optimal'"},{"name":"fit_intercept","data_type":"bool","default_value":"false","description":"Whether the intercept should be estimated or not. If False, the\n data is assumed to be already centered. Defaults to True"},{"name":"l1_ratio","data_type":"float","default_value":"0.3888555696189441","description":"The Elastic Net mixing parameter, with 0 <= l1_ratio <= 1\n l1_ratio=0 corresponds to L2 penalty, l1_ratio=1 to L1\n Defaults to 0.15"},{"name":"learning_rate","data_type":"str","default_value":"\"constant\"","description":"The learning rate schedule:\n\n 'constant':\n eta = eta0\n 'optimal': [default]\n eta = 1.0 \/ (alpha * (t + t0))\n where t0 is chosen by a heuristic proposed by Leon Bottou\n 'invscaling':\n eta = eta0 \/ pow(t, power_t)\n 'adaptive':\n eta = eta0, as long as the training keeps decreasing\n Each time n_iter_no_change consecutive epochs fail to decrease the\n training loss by tol or fail to increase validation score by tol if\n early_stopping is True, the current learning rate is divided by 5"},{"name":"loss","data_type":"str","default_value":"\"modified_huber\"","description":"The loss function to be used. Defaults to 'hinge', which gives a\n linear SVM\n\n The possible options are 'hinge', 'log', 'modified_huber',\n 'squared_hinge', 'perceptron', or a regression loss: 'squared_loss',\n 'huber', 'epsilon_insensitive', or 'squared_epsilon_insensitive'\n\n The 'log' loss gives logistic regression, a probabilistic classifier\n 'modified_huber' is another smooth loss that brings tolerance to\n outliers as well as probability estimates\n 'squared_hinge' is like hinge but is quadratically penalized\n 'perceptron' is the linear loss used by the perceptron algorithm\n The other losses are designed for regression but can be useful in\n classification as well; see SGDRegressor for a description\n\npenalty : {'l2', 'l1', 'elasticnet'}, default='l2'\n The penalty (aka regularization term) to be used. Defaults to 'l2'\n which is the standard regularizer for linear SVM models. 'l1' and\n 'elasticnet' might bring sparsity to the model (feature selection)\n not achieva..."},{"name":"max_iter","data_type":"int","default_value":"1657","description":"The maximum number of passes over the training data (aka epochs)\n It only impacts the behavior in the ``fit`` method, and not the\n :meth:`partial_fit` method\n\n .. versionadded:: 0.19"},{"name":"n_iter_no_change","data_type":"int","default_value":"44","description":"Number of iterations with no improvement to wait before early stopping\n\n .. versionadded:: 0.20"},{"name":"n_jobs","data_type":"int","default_value":"1","description":"The number of CPUs to use to do the OVA (One Versus All, for\n multi-class problems) computation\n ``None`` means 1 unless in a :obj:`joblib.parallel_backend` context\n ``-1`` means using all processors. See :term:`Glossary `\n for more details"},{"name":"penalty","data_type":[],"default_value":"\"elasticnet\"","description":[]},{"name":"power_t","data_type":"double","default_value":"0.5337479304733836","description":"The exponent for inverse scaling learning rate [default 0.5]"},{"name":"random_state","data_type":"int","default_value":"42","description":"The seed of the pseudo random number generator to use when shuffling\n the data. If int, random_state is the seed used by the random number\n generator; If RandomState instance, random_state is the random number\n generator; If None, the random number generator is the RandomState\n instance used by `np.random`"},{"name":"shuffle","data_type":"bool","default_value":"true","description":"Whether or not the training data should be shuffled after each epoch"},{"name":"tol","data_type":"float","default_value":"0.0016762319789051909","description":"The stopping criterion. If it is not None, the iterations will stop\n when (loss > best_loss - tol) for ``n_iter_no_change`` consecutive\n epochs\n\n .. versionadded:: 0.19"},{"name":"validation_fraction","data_type":"float","default_value":"0.5789400632046087","description":"The proportion of training data to set aside as validation set for\n early stopping. Must be between 0 and 1\n Only used if early_stopping is True\n\n .. versionadded:: 0.20"},{"name":"verbose","data_type":"int","default_value":"0","description":"The verbosity level"},{"name":"warm_start","data_type":"bool","default_value":"false","description":"When set to True, reuse the solution of the previous call to fit as\n initialization, otherwise, just erase the previous solution\n See :term:`the Glossary `\n\n Repeatedly calling fit or partial_fit when warm_start is True can\n result in a different solution than when calling fit a single time\n because of the way the data is shuffled\n If a dynamic learning rate is used, the learning rate is adapted\n depending on the number of samples already seen. Calling ``fit`` resets\n this counter, while ``partial_fit`` will result in increasing the\n existing counter"}],"tag":["openml-python","python","scikit-learn","sklearn","sklearn_0.22.1"]}},{"identifier":"step_0","flow":{"id":"17749","uploader":"12269","name":"sklearn.preprocessing._data.PolynomialFeatures","custom_name":"sklearn.PolynomialFeatures","class_name":"sklearn.preprocessing._data.PolynomialFeatures","version":"1","external_version":"openml==0.10.2,sklearn==0.22.1","description":"Generate polynomial and interaction features.\n\nGenerate a new feature matrix consisting of all polynomial combinations\nof the features with degree less than or equal to the specified degree.\nFor example, if an input sample is two dimensional and of the form\n[a, b], the degree-2 polynomial features are [1, a, b, a^2, ab, b^2].","upload_date":"2020-05-18T23:49:43","language":"English","dependencies":"sklearn==0.22.1\nnumpy>=1.6.1\nscipy>=0.9","parameter":[{"name":"degree","data_type":"integer","default_value":"2","description":"The degree of the polynomial features. Default = 2"},{"name":"include_bias","data_type":"boolean","default_value":"false","description":"If True (default), then include a bias column, the feature in which\n all polynomial powers are zero (i.e. a column of ones - acts as an\n intercept term in a linear model)"},{"name":"interaction_only","data_type":"boolean","default_value":"false","description":"If true, only interaction features are produced: features that are\n products of at most ``degree`` *distinct* input features (so not\n ``x[1] ** 2``, ``x[0] * x[2] ** 3``, etc.)"},{"name":"order","data_type":"str in","default_value":"\"C\"","description":"Order of output array in the dense case. 'F' order is faster to\n compute, but may slow down subsequent estimators\n\n .. versionadded:: 0.21\n\nExamples\n--------\n>>> import numpy as np\n>>> from sklearn.preprocessing import PolynomialFeatures\n>>> X = np.arange(6).reshape(3, 2)\n>>> X\narray([[0, 1],\n [2, 3],\n [4, 5]])\n>>> poly = PolynomialFeatures(2)\n>>> poly.fit_transform(X)\narray([[ 1., 0., 1., 0., 0., 1.],\n [ 1., 2., 3., 4., 6., 9.],\n [ 1., 4., 5., 16., 20., 25.]])\n>>> poly = PolynomialFeatures(interaction_only=True)\n>>> poly.fit_transform(X)\narray([[ 1., 0., 1., 0.],\n [ 1., 2., 3., 6.],\n [ 1., 4., 5., 20.]])"}],"tag":["openml-python","python","scikit-learn","sklearn","sklearn_0.22.1"]}}],"tag":["openml-python","python","scikit-learn","sklearn","sklearn_0.22.1"]}}