Questions tagged [multilayer-perceptron]
For question about Multi Layer Perceptron model/architecture, its training and other related details and parameters associated with the model.
52
questions
8
votes
0answers
65 views
What is the number of neurons required to approximate a polynomial of degree n?
I learned about the universal approximation theorem from this guide. It states that a network even with a single hidden layer can approximate any function within some bound, given a sufficient number ...
0
votes
0answers
30 views
How to draw a 3-dimensonal shape's neural network
I am reading an exam question about NN (that I cannot publish, for copyright reasons). The question says: 'Construct a rectangle in 2D space. Define the lines, and then define the weights and ...
0
votes
0answers
9 views
NN for multivariate function interpolation
I have a multivariate function. It takes 4, real valued inputs: a, b, c, d and returns 1 complex number, z.
I wanted to use Neural Networks to predict the value z' for a generic input a', b', c', d'.
...
0
votes
0answers
17 views
How to perform data augmentation on multiple input classification task?
I would like to add some more samples to my dataset which consists of two parts: 1. image and 2. numerical data. For each image in the dataset there is its corresponding numerical data as well.
If it ...
0
votes
0answers
15 views
Why does 0.8:0.2 divided dataset have a much greater AUROC than its 5-fold cross validated counterpart's mean AUROC?
I trained a dataset with a 5-fold cross validation to search for hyper-parameters by an AUROC metric. For splitting I used
...
1
vote
2answers
89 views
Why don't neural networks project the data into higher dimensions first, then reduce the size of each layer thereafter?
Background
From my understanding (and following along with this blog post), (deep) neural networks apply transformations to the data such that the data's representation to the next layer (or ...
2
votes
1answer
64 views
Keras DQN Model with Multiple Inputs and Multiple Outputs [closed]
I am trying to create a DQN agent where I have 2 inputs: the agent's position and a matrix of 0s and 1s.
The output is composed of the agent's new chosen position, a matrix of 0s and 1s (different ...
3
votes
1answer
58 views
Is there a common way to build a neural network that seeks to extract spatial and temporal information simultaneously?
Is there a common way to build a neural network that seeks to extract spatial and temporal information simultaneously? Is there an agreed up protocol on how to extract this information?
What ...
1
vote
2answers
68 views
How is the error calculated with multiple output neurons in the neural network?
Machine Learning books generally explains that the error calculated for a given sample $i$ is:
$e_i = y_i - \hat{y_i}$
Where $\hat{y}$ is the target output and $y$ is the actual output given by the ...
0
votes
0answers
22 views
Random Initializations with ReLU gives puzzling results
this may sound naive, but I’m getting a really puzzling result. I was experimenting with MNIST on vanilla MLP (784, 256, 128, 10) with ...
0
votes
0answers
31 views
What is the purpose to have fully connected layers?
What is the purpose of a fully connected multi layer perceptron in which every input is connected to every output by a weight?
After all, the information is only distributed over several channels, but ...
0
votes
0answers
60 views
Backpropagation implementation with Java
I've been trying to implement a Multilayer Perceptron Network using java language with the ultimate goal of creating and teaching a neural network to recognize handwritten digits. Pretty simple and ...
3
votes
1answer
185 views
Why does every neuron in hidden layers of a multi-layer perceptron typically have the same activation function?
Why does every neuron in a hidden layer of a multi-layer perceptron (MLP) typically have the same activation function as every other neuron in the same or other hidden layers (so I exclude the output ...
0
votes
0answers
33 views
Problem fitting data using mlpregressor
I'm training a sklearn.neural_network.mlpregressor by a large data of students performance (an excel file with 740 students and 27 columns that are their qualities) and I want to predict their grades. ...
0
votes
1answer
192 views
Why can't MLPs perform non-linear regression and classification?
In this page it's told:
In Single Perceptron / Multi-layer Perceptron(MLP), we only have linear separability because they are composed of input and output layers(some hidden layers in MLP)
What ...
2
votes
2answers
62 views
What are standard datasets for fully connected neural networks?
I am looking for datasets that are used as a testing standard in the fully connected neural networks (FCNN). For example, in the image recognition and CNN, CIFAR datasets are used in most of the ...
2
votes
0answers
26 views
How can I adapt this script (to test the robustness of a perceptron) to test the robustness of a multi-layer perceptron?
The following script is from Trappenberg's Fundamentals of Computational Neuroscience and is used to test a perceptron's robustness against noise.
However, how would one alter it to test the output ...
2
votes
2answers
158 views
Why is it called back-propagation?
While looking at the mathematics of the back-propagation algorithm for a multi-layer perceptron, I noticed that in order to find the partial derivative of the cost function with respect to a weight (...
4
votes
2answers
84 views
Can neurons in MLP and filters in CNN be compared?
I know they are not the same in working, but an input layer sends the input to $n$ neurons with a set of weights, based on these weights and the activation layer, it produces an output that can be fed ...
4
votes
1answer
55 views
Why MLP cannot approximate a closed shape function?
[TL;DR]
I generated two classes Red and Blue on a 2D space. Red are points on Unit Circle and Blue are points on a Circle Ring with radius limits (3,4). I tried to train a Multi Layer Perceptron ...
2
votes
0answers
44 views
Recent algorithms for correcting mislabeled data using multilayer perceptrons
I am doing literature research on algorithms for correcting mislabeled data using multilayer perceptrons. Found an "old" paper An algorithm for correcting mislabeled data (2001) by Xinchuan Zeng et al....
4
votes
1answer
68 views
Are the labels updated during training in the algorithm presented in “An algorithm for correcting mislabeled data”?
I am trying to understand an algorithm for correcting mislabeled data in the paper An algorithm for correcting mislabeled data (2001) by Xinchuan Zeng et al. The authors are suggesting to update the ...
1
vote
0answers
26 views
Model unfit for some part of spiral data despite low error
I'm current testing a model for spiral data. After 500 epoches, loss is 0.04 but the result is still unmatch with some part of the training data. (bottom left)
The model has 2 hidden tanh x 16 units ...
2
votes
1answer
102 views
Is there a mathematical theory behind why MLP can classify handwritten digits?
I'm trying to really understand how multi-layer perceptrons work. I want to prove mathematically that MLP's can classify handwritten digits. The only thing I really have is that each perceptron can ...
1
vote
0answers
23 views
Keras MLP returns always loss 0.0 [closed]
I'm implementing a multilayer perceptron with Keras to predict the correct words order in a sentence.
I'm using train_on_batch()because I convert each sentence in a ...
2
votes
0answers
109 views
How I can predict the next number in a sequence with a neural network?
I've been dabbling with machine learning and neural networks (namely, resnet50) for a few months now, mostly doing image recognition. I am currently trying to make a program that, given a string of ...
1
vote
1answer
68 views
Why does my model overfit on pseudo-random numbers training data?
I am trying to predict pseudo-random numbers using the past numbers with a multiplayer perceptron. The error while training is very low. However, as soon as I test it with a test set, the model ...
4
votes
1answer
76 views
Is it expected that adding an additional hidden layer to my 3-layer ANN reduces accuracy significantly?
I've been using several resources to implement my own artificial neural network package in C++.
Among some of the resources I've been using are
https://www.anotsorandomwalk.com/backpropagation-...
1
vote
0answers
29 views
Does a varying ANN model accuracy mean underfitting or overfitting?
Background:
This is for a simulated robot with four legs, walking on a flat terrain. The ANN (an MLP) is given inputs as the robot's body angle, positions and angle of each leg with respect to the ...
1
vote
0answers
26 views
Applying Machine Learning to 2D Laser Scanner Data
We are using 2D Laser Scanner to scan various objects of different geometric shapes for e.g. cylinder, spiked, cylinder with notch, cylinder with curved edges e.t.c. The dataset contains points in the ...
8
votes
2answers
993 views
Why use a recurrent neural network over a feedforward neural network for sequence prediction?
If recurrent neural networks (RNNs) are used to capture prior information, couldn't the same thing be achieved by a feedforward neural network (FFNN) or multi-layer perceptron (MLP) where the inputs ...
1
vote
1answer
48 views
How can I access the weights at each training iteration of an MLP with scikit-learn?
I'm building an MLP with scikit-learn. Is there a way I can access the weights and biases of the output layer per iteration? There is an option mlp.coefs_, but it ...
1
vote
1answer
67 views
How can we print weights per iteration in a simple feed forward MLP for an specific class?
im working on a project in which I have to make a multi-layer perceptron with two hidden layers with 3 nodes in each. The target value in my data contains 8 unique values/classes. One of the tasks ...
1
vote
0answers
46 views
Is there data available about successful neural network architectures?
I am curious to if there is data available for MLP architectures in use today, their initial architecture, the steps that were taken to improve the architecture to an acceptable state and what the ...
2
votes
3answers
199 views
One vs multiple output neurons
Consider an MLP that outputs an integer 'rating' of 0 to 4. Would it be correct to say this could be modeled in either of the following ways:
map each rating in the dataset to a 'normalized set' ...
4
votes
1answer
94 views
Backpropagation equation for a variant on the usual Linear Neuron architecture
Recently I encountered a variant on the normal linear neural layer architecture: Instead of $Z = XW + B$, we now have $Z = (X-A)W + B$. So we have a 'pre-bias' $A$ that affects the activation of the ...
1
vote
0answers
66 views
How can an ANN efficiently predict multiple numbers with fixed sum (in other words, proportions)?
I need a neural network (or any other solution) to predict 3 values which sum equals a fixed number (100). This will help me calculate proportions. Which is the most efficient way to do this?
The ...
2
votes
1answer
50 views
Why are activation functions independent layers in CNNs rather than part of convolutional layers?
I have been reading up on CNNs. One of the different confusing things has been that people always talk of normalization layers. A common normalization layer is a ReLU layer. But I never encountered an ...
3
votes
2answers
93 views
Which online machine learning technique to use for multi-class classification problem with multiple inputs?
I have the following problem. We have $4$ separate discrete inputs, which can take any integer value between $-63$ and $63$. The output is also supposed to be a discrete value between $-63$ and $63$. ...
5
votes
1answer
132 views
How does a single hidden layer affect output? [duplicate]
I'm learning about multilayer perceptrons, and I have a quick theory question in regards to hidden layer neurons.
I know we can use two hidden layers to solve a non-linearly separable problem by ...
5
votes
2answers
205 views
Is a multilayer perceptron a recursive function?
I read somewhere that a multilayer perceptron is a recursive function in its forward propagation phase. I am not sure, what is the recursive part? For me, I would see an MLP as a chained function. So, ...
3
votes
2answers
362 views
How can a neural network learn to play sudoku?
I'm just beginning to understand neural networks and I've performed a couple of successful tests with numerical series where the NN was trained to find the odd one or a missing value. It all works ...
3
votes
3answers
1k views
Why MLP momentum term must be in the range 0-1?
Why momentum factor greater than 1 is a bad idea?
What are the mathematical conclusions?
2
votes
1answer
247 views
Unable to overfit using MLP
I'm building a 5-class classifier with a private dataset. Each data sample has 67 features and there are about 40000 samples. Samples of a particular class were duplicated to overcome class imbalance ...
1
vote
0answers
212 views
Sigmoid output layer and Cross-Entropy cost function
I use Sigmoid activation function for neurons at output layer of my Multi-Layer Perceptron also, I use cross-entropy cost function. As I know when activation functions like Tanh is used in output ...
4
votes
1answer
99 views
How to deal with padded inputs in a fully connected feed forward network?
I have a fully connected network that takes in a variable length input padded with 0.
However the network doesn't seem to be learning and I am guessing that the high number of zeros in the input ...
2
votes
1answer
210 views
Using a MLP to predict a 12x12 matrix
So, i need to use an MLP to predict a 12x12 matrix composed of floating points.
The matrices are as this one that follows:
Most matrices have this "pattern".
As input, i have 7 floating points, ...
1
vote
1answer
229 views
Comments on my proposed “Jitter” neuron
I have an application of neural networks (standard MLP architecture) where I want to forecast a tanh output (ranging from -1 to +1) with about 1500 input features in ~700 samples.
Each sample ...
4
votes
1answer
148 views
Is it a valid assumption that a purely MLP based tic-tac-toe player will learn lookahead strategies?
I'm doing a little tic-tac-toe project to learn neural networks and machine learning (beginner level). I've written a MLP based program that plays with other search based programs and trains with the ...
-1
votes
1answer
447 views
Perceptions in a Neural network [closed]
In a Neural network, there is an input layer, any number of hidden layers, and an output layer. My question is: Are the input and output layer nodes actually perceptions? Or do they just signify what/...