Quantcast
Channel: Active questions tagged feed-forward+python+neural-network - Stack Overflow
Browsing latest articles
Browse All 25 View Live

Backpropagation for Neural Network - Python

I am writing a program to do neural network in python I am trying to set up the backpropagation algorithm. The basic idea is that I look through 5,000 training examples and collect the errors and find...

View Article



Pybrain Feedforward neural network training error completely stuck

Hey guys I need a bit of help with my pybrain code. Everything loads fine, but after it trains the first time the training error doesn't go down. In fact, it just stays stuck there at exactly...

View Article

Image may be NSFW.
Clik here to view.

How to decide activation function in neural network

I am using feedforward, backpropagation, multilayer neural network and I am using sigmoid function as a activation function which is having range of -1 to 1. But the minimum error is not going below...

View Article

Neural network with 1 hidden layer cannot learn checkerboard function?

I'm just starting to learn neural networks, to see if they could be useful for me. I downloaded this simple python code of 3 layer feed forward neural network and I just modified the learning pattern...

View Article

Multilayer feedforward net fails to train in TensorFlow

I started with the TensorFlow tutorial to classify the images in the mnist data set using a single layer feedforward neural net. That works OK, i get 80+ percent on the test set. Then I tried to...

View Article


How to increase accuracy of neural networks

I'm trying to build a simple neural network to classify product images to different labels (product types). i.e, given a new product image tell which product category type (books, toys, electronics...

View Article

How to train my neural network properly?

My neural network solving a nonlinear problem, but the testing loss is very high. When I use a neural network without hidden layer the testing loss is lower than with hidden layer but also high....

View Article

Unterstanding the feedforward function in Michael Nielsens book

I'm currently reading his awesome book (http://neuralnetworksanddeeplearning.com/chap1.html) and I think I get most of these things quite well so far. The math requires some thinking but is...

View Article


I always predict negative values with my model

I'm doing a regression problem and I have 18 features. Whenever I try to predict the values, it always gives me negative values. Can anybody help? I define my NN to be this: features =...

View Article


Why listing model components in pyTorch is not useful?

I am trying to create Feed forward neural networks with N layers So idea is suppose If I want 2 inputs 3 hidden and 2 outputs than I will just pass [2,3,2] to neural network class and neural network...

View Article

Understanding Feed Forward Neural Network Output

I have build a feed forward neural network with 3 hidden layers for regression problem. The metrics I'm using for validation is MAPE. Following are the model parameters #Define the model NN_model =...

View Article

Is there any range of random initialisation of weights in neural network in...

I am implementing a neural network which will take 225 input neurons and it has to classify random numbers from 1 to 7. So for this i need 225 random weights for first output. Suggest me what to do? I...

View Article

Image may be NSFW.
Clik here to view.

How to create custom neural network with custom weight initialization in...

I'm trying to create a small neural network with custom connections between neurons. The connections should exist over several layers and not be fully connected (sparse) as shown in the picture. I...

View Article


How do neural network models learn different weights for each of the neuron...

I had had an overwiew of how neural networks work and have come up with some interconnected questions, on which I am not able to find an answer.Considering one-hidden-layer feedforward neural network:...

View Article

Why is a simple Binary classification failing in a feedforward neural network?

I am new to Pytorch. I was trying to model a binary classifier on the Kepler dataset. The following was my dataset class.class KeplerDataset(Dataset): def __init__(self, test=False):...

View Article


Feed Forward Neural Network Always outputs Random but Similar Values

I recently coded a neural network based on this online book and Sebastian Lague's brief series on neural networks on youtube. I coded it as faithfully to the original as possible but it didn't end up...

View Article

Input 0 of layer "sequential" is incompatible with the layer

I try to test a neural network for a game but always when i run the script i get this error:ValueError: Input 0 of layer "sequential" is incompatible with the layer: expected shape=(None, 24), found...

View Article


how to use neat's feed forward network by itself?

I want to use NEAT's neural network by itself so I can control how the selection of the fittest(training) is done along with other things, but the source code for NEAT's feed forward network can't be...

View Article

Accessing the index in my neural network 'for' list

I have a problem with my neural network.It's not getting the best R2 for my model. It is taking the last position of my list_tf variable.How can I fix this so that my network model gets the best result...

View Article

--- Article Not Found! ---

*** *** *** RSSing Note: Article is missing! We don't know where we put it!!. *** ***

View Article

Network weights no longer updating

`Hi,I have to run some tensorflow v.1.8 code in a v.2 environment. I have made all the necessary changes (I believe). I have tried everything I can think of, but after I start the training the weights...

View Article

Browsing latest articles
Browse All 25 View Live




Latest Images