diff options
Diffstat (limited to 'simulation/mle_blocks.py')
| -rw-r--r-- | simulation/mle_blocks.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/simulation/mle_blocks.py b/simulation/mle_blocks.py index 98bc257..1b1cf4d 100644 --- a/simulation/mle_blocks.py +++ b/simulation/mle_blocks.py @@ -32,14 +32,14 @@ if __name__ == "__main__": batch_size = 100 #n_obs = 100000 freq = 10 - graph = utils.create_wheel(1000) + graph = utils.create_wheel(100) print('GRAPH:\n', graph, '\n-------------\n') g_shared = theano.shared(value=graph, name='graph') x, s, params, cost = create_mle_model(graph) rmse = ub.rmse_error(g_shared, params) - error = ub.relative_error(g_shared, params) + error = ub.absolute_error(g_shared, params) alg = algorithms.GradientDescent( cost=-cost, parameters=[params], step_rule=algorithms.AdaDelta() |
