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.

440 questions
-1
votes
1 answer

why weight is changing regarding perceptron nn?

I am new to neuoro network, I am recently tried with neuro network perceptron, I have two basic questions 1) It looks like the weight of the netowork gets changed each time I run. 2) I want to simulate a simple AND, and here is the weight I…
Adam Lee
  • 21,598
  • 43
  • 138
  • 208
-1
votes
1 answer

Interpreting internal features of Multiplayer Perceptrons

I've trained a multiplayer perceptron on a medical imaging classification task (classifying whether an ultrasound scanning image belongs to the healthy or disease condition). The network consists of 2 fully connected hidden layers and 1 output unit.…
9lAzn1
  • 3
  • 2
-1
votes
1 answer

Perceptron - get function

I'm programming a simple one layered perceptron. For example, I have 3 neurons at the first layer, 2 at the second, and 2 at the output layer. I have to solve a binary classification problem. This way I have 10 weights. But I want to visualize the…
Rahul
  • 1,330
  • 2
  • 13
  • 25
-1
votes
1 answer

Perceptron code explanation

What is going on in the following code? function [ errors sepplane ] = perceptron ( pclass , nclass) sepplane = rand ( 1 , columns ( pclass ) + 1 ) - 0.5; tset = [ ones ( rows ( pclass ), 1 ) pclass ; - ones ( rows ( nclass…
user366312
  • 17,582
  • 55
  • 198
  • 392
-1
votes
1 answer

How to predict temperature for the 4th day, given temperatures for previous days, using a linear perceptron?

I have four sets of data (3 for training, 1 for testing) that include the hour of the day and temperatures in this format: Time | Temperature 5, 60 6, 63 7,70 8,73 9,78 10,81.5 11,85.1 12,87 13,90 I need to train and test a perceptron and then…
-1
votes
1 answer

Perceptron Learning - Input Intuition in Weight Update

I've been trying to teach myself how to create perceptrons, and I'm mostly following quite well. The only issue I have encountered so far is understanding what the intuition behind the presence of the input is in the weight update of a…
MemoNick
  • 352
  • 2
  • 4
  • 18
-1
votes
2 answers

run perceptron algorithm on a hash map feature vecteur: java

I have the following code, it reads in many files from a directory into a hash map, this is my feature vecteur. It's somewhat naive in the sense that it does no stemming but that's not my primary concern right now. I want to know how I can use this…
smatthewenglish
  • 2,595
  • 3
  • 29
  • 64
-2
votes
0 answers

Any tips on creating a machine learning model for a spray dryer

Trying out different machine learning models to predict particle sizes from a spray dryer. Does anyone have any experience with any models to try out? Quite new to machine learning. I have tried multivariate linear regression but does not work out…
-2
votes
1 answer

How to calculate in_features for every layer in multilayer perceptron?

What ratio between in_features of different layers is appropriate? Should it be integer? For example, it is a part of the fully connected network for solving CIFAR10: self.fc1 = nn.Linear(32*32*3, 256) self.bn1 = nn.BatchNorm1d(256) self.fc2 =…
-2
votes
1 answer

How can i differentiate neuron from perceptron?

Conceptually, people talk both are different. There has been a confusion still. Let me summarize what i understood, please educate me. There is a tiny differentiating factor between these two. 1) A tiny change in the weight/bias of a particular…
DrunkenMaster
  • 1,090
  • 2
  • 12
  • 26
-2
votes
1 answer

Hyperplane in perceptrons

What is Hyperplane in the discussion of neural networks and Perceptrons? The following perceptron is implemented using Hyperplane. perceptron_minin.m(Octave) function [errors, sepplane ] = perceptron_minin ( pclass , nclass) sepplane = rand ( 1…
user366312
  • 17,582
  • 55
  • 198
  • 392
-2
votes
1 answer

Perceptron learning algorithm

I would like to interpret problem on picture below, which is about perceptron learning. It is about supervised learning wiht a training set, so correctness of values should be checked against a predefined set of values. I don't exactly know, how A,…
-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…
-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…
1 2 3
29
30