Questions tagged [perceptron]

Perceptron is a basic linear classifier that outputs binary labels.

24 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2k views

Perceptron - Which step function to choose

I'm studying Perceptron algorithm. Some books use this step function 1 if x>=0 else -1 where x is a dot product between the weights w and a sample x. Other ...
• 451
66 views

Version of Perceptron

If we change the $ywx<0$ condition (for performing update) to $ywx<1$ like in SVM (but without adding regularization to maximize the margin), is there any difference from the basic perceptron (...
• 51
1 vote
24 views

why use one regularisation technique over another?

why should I prefer L1 over L2, in fully-connected-layer or convolution? why use dropout between 2 layers, when there is the option of regularising a layer(or both) with something like L1 or L2? and ...
1 vote
24 views

predict multiple letters in pixels matrix

I have a multilayer perceptron model that is trained to recognize handwritten English letters from an image. In the training set each image matrix had 784 pixel values. The labels of these images ...
• 111
1 vote
25 views

I'm worried that I'm training my model wrong

So I'm trying to classify some fashion mnist like photos into either boots or sneakers. I'm using a perception from sklearn to do so. The data set is a CSV containing pixel values. The model is ...
1 vote
835 views

linear perceptron algorithm

Linear Classification Consider a labeled training set shown in figure below: ...
1 vote
107 views

• 47
1 vote
2k views

(Almost) linearely separable dataset, where can I find one?

I'm implementing the perceptron algorithm and the voted perceptron algorithm for an assignment for university. For that I need to find some decent datasets.. I've tried the UCI repos and I've come up ...
1 vote
1k views

Optimizing an averaged perceptron algorithm using numpy and scipy instead of dictionaries

So I'm trying to write an averaged perceptron algorithm (page 48 here for the equation) in python. Instead of storing the historical weights, I simply accumulate the weights and then multiply ...
• 101
1 vote
264 views

Why is a perceptron initialized with a random line?

I'm setting up a single perceptron for doing linear classification. Why is the perceptron initialized with random weights and a random bias instead of just having all of the weights set to zero ...
1 vote
345 views

Machine Learning Perceptron Algorithm

I'm studying Machine Learning using Sebastian Raschka's book. Wonder if someone could please help me to confirm if I have the following steps correct if I apply Perceptron Algorithm to Iris dataset ...
• 139
7 views

• 103
17 views

OR gate perceptron in plain python - Loss won't converge

I am coding a perceptron from scratch just out of curiosity in plain python for OR gate, but a loss won't converge. ...
17 views

• 19