🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to correctly optimize Macros in Rapidminer

User: "nourhan_taya"
New Altair Community Member
Updated by Jocelyn

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

1.png2.png

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "FBT"
    New Altair Community Member

    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. 

    User: "nourhan_taya"
    New Altair Community Member
    OP

    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 it1.png2.png3.png

    User: "FBT"
    New Altair Community Member
    Accepted Answer

    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).

     

    Process_order.png 

    User: "nourhan_taya"
    New Altair Community Member
    OP

    Many thanks. this solution solved my problem

    User: "nourhan_taya"
    New Altair Community Member
    OP

    hi,

    the previous solution solved the problem but i did not work for deep learning operator

    p1.pngp2.pngp3.pngp4.png

    User: "FBT"
    New Altair Community Member

    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 (</>).