I'm trying to do my own custom Randomization and I cannot see any way to do this. All the ways I have found require mouse selection.
Perhaps there is a way to modify the .mbn file?
Thanks in advance,
Tom
Can Weights be modified via Script?
Re: Can Weights be modified via Script?
This is not quite true: They require selection but not necessarily with the mouse, it can be done by csripting, too.MrCreosote wrote: All the ways I have found require mouse selection.
For example the NetEditor script class that is part of the scripting example downloads, uses this method.
However, it's quite slow and a bit of scripting implementation work.
You might want to take a look into the NetEditor script class, this may provide some useful hints on how to select items through scripting.
Regards,
Thomas
Thomas Jetter
-
- Posts: 55
- Joined: Wed 21. Jul 2010, 18:43
Re: Can Weights be modified via Script?
I can see how to Create a Link between two different nodes:
void ConnectInputToOutput()
however, I cannot see how to select the Link so I can get at its Properties.
Maybe the commands:
void SelectLinksFromExtra() and
void SelectLinksToExtra() ?
Could find no examples of Link editing in NetEditor class.
Thanks
Tom
void ConnectInputToOutput()
however, I cannot see how to select the Link so I can get at its Properties.
Maybe the commands:
void SelectLinksFromExtra() and
void SelectLinksToExtra() ?
Could find no examples of Link editing in NetEditor class.
Thanks
Tom
Re: Can Weights be modified via Script?
Yes, basically the only way to select links is by defining their corresponding source and target neuron(s).MrCreosote wrote:Maybe the commands:
void SelectLinksFromExtra() and
void SelectLinksToExtra() ?
Once selected the links can be edited through their data properties structure 'SLinkProp'.
Thomas Jetter