Skip to content

Methods · Machine learning · Online learning

Perceptron Classifier

The perceptron is the original mistake-driven linear classifier: it predicts the sign of a weighted sum and, after each misclassified example, adds the example (times a learning rate) to the weights. If the classes are linearly separable it stops making mistakes after finitely many updates; the averaged perceptron predicts with the mean weight vector for more stable results.

퍼셉트론은 가장 오래된 오류 기반 선형 분류기로, 가중합의 부호로 예측하고 틀린 예가 나올 때마다 그 예에 학습률을 곱해 가중치에 더합니다. 범주가 선형으로 분리되면 유한 번의 갱신 뒤 더는 틀리지 않으며, 평균 퍼셉트론은 가중치의 평균으로 예측해 더 안정적입니다.

Are my classes linearly separable, and how accurate is a simple perceptron compared with logistic regression?

범주를 초평면 하나로 나눌 수 있는지, 단순한 퍼셉트론이 로지스틱 회귀와 비교해 얼마나 정확한지 알고 싶습니다.

The method standardises features and runs perceptron epochs over the training rows (one-vs-rest for several classes), stopping after an epoch without mistakes. It reports mistakes per epoch, whether the training data were separated, the weights and held-out accuracy next to logistic regression.

When to use Perceptron Classifier

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

A perceptron made [value] mistakes in its first pass over [value] rows and [value] in epoch [value]; held-out accuracy was [value] against [value] for logistic regression.

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 2 reference tests compare the results with scikit-learn.

    독립 계산. scikit-learn 대조 참조 시험 2건 통과.

Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.

허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.

Run Perceptron Classifier on Quorant

Data you need
a table (CSV or Excel) with an outcome variable and predictor (feature) columns
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
Checking
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q71137 · Reviewed 2026-10-25