mirror of https://github.com/glouw/tinn
more hidden layers
This commit is contained in:
parent
c74ab3ab22
commit
bcf16644d2
4
test.c
4
test.c
|
@ -134,8 +134,8 @@ int main()
|
||||||
// Learning rate is annealed and thus not constant.
|
// Learning rate is annealed and thus not constant.
|
||||||
// It can be fine tuned along with the number of hidden layers.
|
// It can be fine tuned along with the number of hidden layers.
|
||||||
// Feel free to modify the anneal rate as well.
|
// Feel free to modify the anneal rate as well.
|
||||||
const int nhid = 8;
|
const int nhid = 28;
|
||||||
float rate = 0.5f;
|
float rate = 1.0f;
|
||||||
const float anneal = 0.99f;
|
const float anneal = 0.99f;
|
||||||
// Load the training set.
|
// Load the training set.
|
||||||
const Data data = build("semeion.data", nips, nops);
|
const Data data = build("semeion.data", nips, nops);
|
||||||
|
|
Loading…
Reference in New Issue