The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Neural Network Toplogy
Hi,
I was wondering if there is a way to change the Neural Network Topology (i.e. # of hidden layers, # of hidden nodes) in the Optimize Parameters (Grid)-operator. I can't find a variable for the topology, although the Neural Net-operator does have a setting for this. Any ideas?
I was wondering if there is a way to change the Neural Network Topology (i.e. # of hidden layers, # of hidden nodes) in the Optimize Parameters (Grid)-operator. I can't find a variable for the topology, although the Neural Net-operator does have a setting for this. Any ideas?
Tagged:
0
Best Answer
-
yasinkaya Member Posts: 10 Contributor II
Hi Marius,Marius wrote:
No, not yet, and to be honest it does not have high priority for us. There are a number of algorithms that we prefer a lot over the Neural Networks - SVMs for instance deliver comparable results, but are way easier to configure and to optimize and at the same time have a smaller tendency to overfit.
However, to change at least the size of a fixed number of hidden Layers, you can create Set Macro operators inside the Loop Parameters operator, iterate the macro values and use the macros to define the sizes of the layers.
Best, Marius
I used Loop Parameters operator and Set Macro operator to chane size of the layers, but I get the error: "operator cannot be executed (For input string: "ilk")" "ilk" is the macro name.
<operator activated="true" class="neural_net" compatibility="6.4.000" expanded="true" height="76" name="Neural Net" width="90" x="112" y="30">
<list key="hidden_layers">
<parameter key="hiddenlayer" value="%{ilk}"/>
</list>
</operator>
0
Answers
However, to change at least the size of a fixed number of hidden Layers, you can create Set Macro operators inside the Loop Parameters operator, iterate the macro values and use the macros to define the sizes of the layers.
Best, Marius
I overlooked the situation "the macro should be defined before it can be used in parameter values.".
I changed macro's position to before NN and simulation worked.
Thanks.
Hi,
I solved the problem same way, too.
Thank you very much.
hello everyone .i need some mor help! to undersatanding this solved problem.....can you share with me some xml or jpg for more describtion...
Have you tried pinging @yasinkaya?