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
How to correctly optimize Macros in Rapidminer
nourhan_taya
Member Posts: 11 Contributor II
Hi,
i am using artificial neural networks for financial markets prediction. When i used " set macro" operator to optimize the number of hidden neurons, the program give me an error messsage. I did not understand this message error and i do not know how to solve the problem.
Thanks in advance
0
Best Answer
-
FBT Member Posts: 106 Unicorn
This is most likely caused by a wrong process order. You are requesting the macro value before it was generated. To change the process order of individual operators, click on the blue rectangle on the top right corner of the process pane (see picture below).
1
Answers
The problem is most likely caused by the fact that macros have the data type "string" and your process expects a numeric value. Please take a look at this post. It should help you to resolve the issue.
Many thanks for reply
i have tried extract macro for solving the problem but undefined macro message appears. i suspected that there is a problem in the procedure but i couldnot recognize it
Many thanks. this solution solved my problem
hi,
the previous solution solved the problem but i did not work for deep learning operator
Have you tried running it like this? The warning you are seeing is caused by the process' meta data not being in sync with its real data. This is not uncommon when using macros and usually is only a warning, not an error. From your pictures, I believe you should be able to run it successfully like it is. In case it does not work, maybe you can post your process XML and I will take a look. For this you just need to copy the XML that you can find in your XML panel and copy it into this thread within the "Insert Code" tags (</>).