In machine learning and cognitive science, neural networks are a family of statistical learning models inspired by biological neural networks and are used to estimate or approximate functions that can depend on a large number of inputs and are generally unknown.
3
votes
1answer
30 views
Finding the max error of a set of training data
I wrote a neural net, and a Trainer class that automates training the net using a training set; a set of input, and the expected output value.
Originally, I was ...
4
votes
1answer
38 views
Randomly learning a neuron to act as a signal counter
I have this small program for learning an artificial neuron to act as a simple signal counter: my cell has four input wires (also called dendrites) and a single output wire (also called axon). If at ...
5
votes
1answer
101 views
CUDA Kernel - Neural Net
I'm building a spiking neural net (recurrent, integrate & fire), and I'm curious about how to reduce the warp divergence (and other problems) I may have.
Here's a example with a few hand-placed ...
11
votes
1answer
699 views
Layered Neural Network in Swift
I am designing a very basic layered neural network in Swift as an exercise. I currently got the network evaluating the response for a given stimulus by propagating the stimulus forwards through the ...
6
votes
2answers
147 views
Simple Java Neural Network
I've written a toy neural network in Java. I ran it several million times with the same outputs with only the randomized weights changing from run to run. The average of all of the outputs is not 0.5, ...
5
votes
0answers
122 views
Backpropagating with Neural Network
I wrote a Java program implementing a neural network with backpropagation. For anyone who isn't familiar with Neural Networks and Backpropagation, here is a good resource. Here is another ...
14
votes
0answers
254 views
Siamese neural network
I have been studying the architecture of the Siamese neural network introduced by Yann LeCun and his colleagues in 1994 for the recognition of signatures ("Signature verification using a Siamese time ...
8
votes
1answer
99 views
Artificial Neural Network implementaion
I'm looking for some general tips on code practices, doing things properly in idiomatic pythonic way. But mostly I want to know if this was build correctly. I tried making neural nets in the past, but ...
4
votes
1answer
112 views
Neural Network Simulator with OpenMP
I wrote a simple neural network simulator (the biophysical kind) from scratch, and was hoping to get some feedback on how I can speed things up, or any C++ / compilation best practices that I can ...
7
votes
1answer
165 views
Simple Hopfield Network pattern recall
Here is a simple Hopfield network that I wrote with the help of a book that I am reading. I would like you to review it and give me your suggestions, especially for the node-updating part (the last ...
1
vote
0answers
76 views
Neural Network in Julia
I am currently trying to implement a Neural Net in Julia with the goal of eventually implementing a stacked autoencoder. My code seems to work but I would appreciate any constructive criticism. If ...
11
votes
2answers
578 views
Neural Network appears to be slow
I have some neural network Julia code which I'm hoping to speed up. It's possibly simply poorly-designed, but I'm not convinced.
...
11
votes
1answer
1k views
Clojure Neural Network
After reading this article about Neural Networks I was inspired to write my own implementation that allows for more than one hidden layer.
I am interested in how to make this code more idiomatic - ...
7
votes
2answers
689 views
Python neural network: arbitrary number of hidden nodes
I'm trying to write a neural network that only requires the user to specify the dimensionality of the network. Concretely, the user might define a network like this:
...
5
votes
1answer
1k views
Simple Neural Network in Java
I had an assignment some weeks ago that consisted of making a simple McCulloch-Pitts neural network. I ended up coding it in a pretty OO style (or the OO style I've been taught), and I felt that my ...
2
votes
0answers
121 views
Back-propagation implementation
I've written an implementation of the back-propagation algorithm in Clojure (here). This is my first attempt at Clojure where the code totals more than ten lines and so it is not very idiomatic; ...
4
votes
1answer
2k views
Academic implementation of artificial neural network
With some free time, I decided to study artificial neural networks as an academic exercise (not homework). Over the course of my studies, I decided to write a Python application that would allow me to ...
3
votes
1answer
804 views
Basic neural network
I just programmed a basic neural network in F# to learn the logical OR function. As I am very new to F# and especially functional programming, I did it the imperative way. And even tho it works, I ...
4
votes
1answer
362 views
Back propagation neural network
This is the first time I tried to write a back propagation ANN and I would like to know what more experienced people think of it. The code is meant to distinguish if text is written in English, French ...