GitXplorerGitXplorer
m

homework2

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
d929d0216355f4972e679a7850feb05bd598c939

note about precompiled version

mmdonoughe committed 14 years ago
Unverified
8d807bc96b7bd4c2bb020024722bc856e43ab29b

readme

mmdonoughe committed 14 years ago
Unverified
1b60981c27468bc8e6a1d98a49c9c97b9afb49d2

GPL

mmdonoughe committed 14 years ago
Unverified
4a557092db02a4bf717de0947c9fb2c55053d6f0

useless

mmdonoughe committed 14 years ago
Unverified
c629463febe1665d8aac39a8eaa7767309556a91

doc

mmdonoughe committed 14 years ago
Unverified
2f8e9204fa9d709fc652ad301a47280f949ce5a1

these should not be executable

mmdonoughe committed 14 years ago

README

The README file for this repository.

Homework 2

A neural network for visually classifying points in a two dimensional input space into two classes, posted because the visualization may be useful.

A precompiled version is available in the downloads section.

The input files are in the format "X\tY\tTARGET" where X and Y are floating point values between -10 and 10, and TARGET is 0 or 1.

There is no testing set input. The only output of this program is the error at each epoch and a graphical view of the network.

main.c is responsible for the rendering loop.

shaderbuilder.c builds a fragment shader that classifies each point based on it's texture coordinate and the weights array.

nn.c builds and trains an mlp or rbf.

Usage is "homework2 [-f <file.dat>] [-r ] ". The arguments must be provided in this order!

I didn't bother with much error handling so this will probably crash if something goes wrong. Works fine for me on my computer so long as the specified file exists and I don't do anything like make an rbf without an rbf layer.