Quantcast
Browsing all 25 articles
Browse latest 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

Is frequency vector a good choice for minimizing chain code derivative vector?

I'm trying to implement a feedforward neural network that recognize a type of cable based on chain codes derivative vector. The size of my chain codes derivative vectors is variable, and I would like...

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

Feed Forward neural network for accent change? dont know if Im doing...

Good evening, I am actually developing a proyect that involves machine learning, where I use MFCCs to change an accent to another. After a while, I reached the conclusion that my best shot (for now,...

View Article


You must feed a value for placeholder tensor with dtype float and shape [3,3]

I am writing a feed forward neural network, the goal is to be trained and predict the output of my the dataset. I am using scalar input/output. I receive an error (You must feed a value for placeholder...

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

Image may be NSFW.
Clik here to view.

Predict future points Feed forward neural networks

I was able to test it but i would like to add future 30 points and forecast the data - pls advise how to add them to get the future data pointsimport numpy as npimport matplotlib.pyplot as pltfrom...

View Article
Browsing all 25 articles
Browse latest View live