From 2db43e966281df5347f4641d5c4fde5b987f015a Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Fri, 5 Aug 2016 18:25:38 +0200 Subject: [PATCH] Pass parameter for gradient noise --- spacy/syntax/parser.pyx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spacy/syntax/parser.pyx b/spacy/syntax/parser.pyx index 2157032c1..8fc8bdfa5 100644 --- a/spacy/syntax/parser.pyx +++ b/spacy/syntax/parser.pyx @@ -97,7 +97,8 @@ cdef class Parser: if cfg.get('model') == 'neural': model = ParserNeuralNet(cfg.hidden_layers + [moves.n_moves], - update_step=cfg.update_step, eta=cfg.eta, rho=cfg.rho) + update_step=cfg.update_step, eta=cfg.eta, rho=cfg.rho, + noise=cfg.noise) else: model = ParserPerceptron(get_templates(cfg.feat_set))