Skip to content

Instantly share code, notes, and snippets.

@dpogorzelski
Created July 1, 2013 15:47
Show Gist options
  • Save dpogorzelski/5902010 to your computer and use it in GitHub Desktop.
Save dpogorzelski/5902010 to your computer and use it in GitHub Desktop.
structure
network.inputs:
[{
id: 1,
out: 0
}, {
id: 2,
out: 0
}, {
id: 3,
out: 1
}
]
network.hidden:
[{
id: 1,
sum: 0,
out: 0
}, {
id: 2,
sum: 0,
out: 0
}, {
id: 3,
out: 1
}
]
network.output:
[{
id: 1,
sum: 0,
out: 0
}
]
network.weights:
[{
weight: -0.07,
i_id: 1,
h_id: 1
}, {
weight: 0.94,
i_id: 1,
h_id: 2
}, {
weight: 0.22,
i_id: 2,
h_id: 1
}, {
weight: 0.46,
i_id: 2,
h_id: 2
}, {
weight: -0.46,
i_id: 3,
h_id: 1
}, {
weight: 0.10,
i_id: 3,
h_id: 2
}, {
weight: -0.22,
h_id: 1,
o_id: 1
}, {
weight: 0.58,
h_id: 2,
o_id: 1
}, {
weight: 0.78,
h_id: 3,
o_id: 1
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment