Getting connection weights from a multilayer feedforward perceptron?

28 views
Skip to first unread message

Klemen Grm

unread,
Mar 11, 2015, 2:41:09 PM3/11/15
to py-ne...@googlegroups.com
I haven't seen this mentioned anywhere in the docs. How to access the connection weights matrices?

Evgeny Zuev

unread,
Mar 12, 2015, 12:05:30 AM3/12/15
to py-ne...@googlegroups.com
https://pythonhosted.org/neurolab/ex_props.html
# Change weight of input layer
>>> net.layers[0].np['w'][:] = 0.0
>>> net.layers[0].np['w']
You can get layer weights in net.layers[0].np['w'], layer bias in net.layers[0].np['b'].
For get all network weaights and bias neurolab.tool.np_get(net)

ср, 11 марта 2015 г. в 23:41, Klemen Grm <kleme...@gmail.com>:
I haven't seen this mentioned anywhere in the docs. How to access the connection weights matrices?

--
Вы получили это сообщение, поскольку подписаны на группу "NeuroLab".
Чтобы отменить подписку на эту группу и больше не получать от нее сообщения, отправьте письмо на электронный адрес py-neurolab...@googlegroups.com.
Чтобы настроить другие параметры, перейдите по ссылке https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages