Skip to content

Instantly share code, notes, and snippets.

@seawaveT
seawaveT / README.md
Created October 15, 2013 14:53 — forked from nikcub/README.md
@seawaveT
seawaveT / gist:2928714
Created June 14, 2012 07:24 — forked from fxsjy/gist:2928683
bpnn solve kindergarten problem
# Back-Propagation Neural Networks
# another way: solve it as a Regression Problem
# Written in Python. See http://www.python.org/
# Modified by JSun to solve the problem here: http://www.weibo.com/1497035431/ynPEvC78V
# Neil Schemenauer <[email protected]>
import math
import random
import string
@seawaveT
seawaveT / lr_circles.m
Created June 14, 2012 06:49 — forked from yongsun/lr_circles.m
count the circles of numbers
X = [
1,0,3,0,0,0,0,0,1,0,0; % 7111
1,1,0,0,0,0,0,0,0,2,1; % 8809
1,0,1,2,0,0,0,0,1,0,0; % 2172
1,0,0,0,0,0,0,4,0,0,0; % 6666
1,0,4,0,0,0,0,0,0,0,0; % 1111
1,0,0,4,0,0,0,0,0,0,0; % 2222
1,0,0,1,0,0,0,2,1,0,0; % 7662
1,0,1,0,2,0,0,0,0,0,1; % 9313
1,4,0,0,0,0,0,0,0,0,0; % 0000
@seawaveT
seawaveT / bpnn_digit.py
Created June 14, 2012 06:47 — forked from fxsjy/bpnn_digit.py
bpnn solve kindergarten problem
# Back-Propagation Neural Networks
#
# Written in Python. See http://www.python.org/
# Modified by JSun to solve the problem here: http://www.weibo.com/1497035431/ynPEvC78V
# Neil Schemenauer <[email protected]>
import math
import random
import string