DEVELOPMENT... OpenML
Flow
sklearn.linear_model._perceptron.Perceptron

sklearn.linear_model._perceptron.Perceptron

Visibility: public Uploaded 13-09-2022 by Perry sklearn==1.0.2 numpy>=1.14.6 scipy>=1.1.0 joblib>=0.11 threadpoolctl>=2.0.0 1 runs
0 likes downloaded by 0 people 0 issues 0 downvotes , 0 total downloads
  • openml-python python scikit-learn sklearn sklearn_1.0.2
Issue #Downvotes for this reason By


Loading wiki
Help us complete this description Edit
Linear perceptron classifier.

Parameters

alphaConstant that multiplies the regularization term if regularization is useddefault: 0.0001
class_weightPreset for the class_weight fit parameter Weights associated with classes. If not given, all classes are supposed to have weight one The "balanced" mode uses the values of y to automatically adjust weights inversely proportional to class frequencies in the input data as ``n_samples / (n_classes * np.bincount(y))``default: null
early_stoppingWhether to use early stopping to terminate training when validation score is not improving. If set to True, it will automatically set aside a stratified fraction of training data as validation and terminate training when validation score is not improving by at least tol for n_iter_no_change consecutive epochs .. versionadded:: 0.20default: false
eta0Constant by which the updates are multiplieddefault: 1.0
fit_interceptWhether the intercept should be estimated or not. If False, the data is assumed to be already centereddefault: true
l1_ratioThe Elastic Net mixing parameter, with `0 <= l1_ratio <= 1` `l1_ratio=0` corresponds to L2 penalty, `l1_ratio=1` to L1 Only used if `penalty='elasticnet'` .. versionadded:: 0.24default: 0.15
max_iterThe maximum number of passes over the training data (aka epochs) It only impacts the behavior in the ``fit`` method, and not the :meth:`partial_fit` method .. versionadded:: 0.19default: 1000
n_iter_no_changeNumber of iterations with no improvement to wait before early stopping .. versionadded:: 0.20default: 5
n_jobsThe number of CPUs to use to do the OVA (One Versus All, for multi-class problems) computation ``None`` means 1 unless in a :obj:`joblib.parallel_backend` context ``-1`` means using all processors. See :term:`Glossary ` for more detailsdefault: null
penaltydefault: null
random_stateUsed to shuffle the training data, when ``shuffle`` is set to ``True``. Pass an int for reproducible output across multiple function calls See :term:`Glossary `default: 0
shuffleWhether or not the training data should be shuffled after each epochdefault: true
tolThe stopping criterion. If it is not None, the iterations will stop when (loss > previous_loss - tol) .. versionadded:: 0.19default: 0.001
validation_fractionThe proportion of training data to set aside as validation set for early stopping. Must be between 0 and 1 Only used if early_stopping is True .. versionadded:: 0.20default: 0.1
verboseThe verbosity leveldefault: 0
warm_startWhen set to True, reuse the solution of the previous call to fit as initialization, otherwise, just erase the previous solution. See :term:`the Glossary `.default: false

0
Runs

List all runs
Parameter:
Rendering chart
Rendering table