Questions tagged [perceptron]

Perceptron is a basic linear classifier that outputs binary labels.

Perceptron is a basic linear classifier that outputs binary labels. If the training data set is not linear separable, the learning algorithm cannot converge.

A classical problem of XOR is a dataset that is not linear separable. A perceptron does not work in this case. By adding nonlinear layers between the input and output, one can separate all data. With enough training data, the resulting network is able to model any well-defined function to arbitrary precision. This model is a generalization known as a multilayer perceptron.

For more details about , see wiki.

489 questions
-2
votes
1 answer

How to make car evaluation with MLP?

I want to make a classification for cars with their qualifications and their prices. I should do it with MLP, but there is not any other example besides XOR example. I have 6 conditions and I am turning the them to doubles like [1,0,0,0] for…
medemir
  • 29
  • 2
-2
votes
1 answer

Is there an attribute for vectors in ARFF for Weka?

I am trying to use Weka Multilayer Perceptron classifier to determine if a 14 by 14 picture is of a 4 or a 9. I am given 200 files text files containing a 0 or a 1 for each pixel of the picture being light or dark. I am supposed to convert each…
Timothy Elbert
  • 137
  • 1
  • 3
  • 13
-3
votes
1 answer

TypeError: unsupported operand type(s) for *: 'builtin_function_or_method' and 'int'

I have a code, which implements Perceptron manually. Unfortunately, I am receiving an error that I have no knowledge of how to fix it... I searched and saw that this error normally occurs when a method is used and is not called, but in this point, I…
-3
votes
1 answer

Rosenblatts perceptron implementation in R Programming

ive train_data to be classified using perceptron .. which is giving nan's Perceptron classified wrongly train_data =data.frame(x_1=c(0,1,4,5,6,8,2,3,5,9,12,14,15,16,17,20,19,16,18,19,0,2,3,4,5,6), …
premon
  • 159
  • 1
  • 3
  • 13
-5
votes
1 answer

C# Perceptron Algorithm (Reading in a file)

I'm currently creating a simple single layer perceptron algorithm. It should take in a .txt file and the algorithm runs over it. At the moment, I have the algorithm and just hard coded sample data values to test if it works (which it does), but I…
Patrick
  • 13
  • 5
-7
votes
2 answers

Data Encoding for Training in Neural Network

I have converted 349,900 words from a dictionary file to md5 hash. Sample are…
-8
votes
1 answer

Understanding Perceptron training algorithm

The following text is from Hal Daumé III's "A Course in Machine Learning" online text book (Page-41). I understand that, D = size of the input vector. (1) What kind of Perceptron algorithm is this? Binary/Multi-class? Online/Offline? (2) What is y…
user366312
  • 16,949
  • 65
  • 235
  • 452
-75
votes
1 answer

Single layer neural network

For the implementation of single layer neural network, I have two data files. In: 0.832 64.643 0.818 78.843 Out: 0 0 1 0 0 1 The above is the format of 2 data files. The target output is "1" for a particular class that the…
1 2 3
32
33