Options

Neural Network With Multiple Outputs for Prediction

Jeffery1Jeffery1 Member Posts: 6 Contributor I
edited December 2018 in Help

Hi,

I want a neural network with two outputs for prediction. I usually use the "set role" operator to set a lable, so the nerual network has one output.  Now, how to set to get two outputs? 

Thank you!

Answers

  • Options
    Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    @Jeffery1 when you say "two outputs" do you mean two classes? Like the output of the ANN will be either "yes or no" or "churn or not churn?"  Then selecting the one attribute column as a label is the right way to do it if you have the two classes in the column. 

  • Options
    Jeffery1Jeffery1 Member Posts: 6 Contributor I

    Thanks for your reply!

    We usually use the neural network for prediction. I didn't mean two classes.The output of the ANN will be neither "yes or no" nor "churn or not churn" . I want it to  be two numerical digits like "1234 and 5678" , that is to say the  attributes of input and output are both numerical. So how to set to get two neurons of output layer ?

    (PS:Please look at the attached picture.)

    Thank you!

    Jeffery

  • Options
    Thomas_OttThomas_Ott RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,761 Unicorn

    @Jeffery1 when you say the output is two numerical digits like '1234' and '5678', is that what expected out is to be? Or can it be like '2346', or '45', or '45745745746'? Do you want the ANN to output a predicted numerical value? Because in that case, you will not have two output nodes. Two output nodes (like your attached image) indicates two classes like "yes/no" or even "0/1"

  • Options
    Jeffery1Jeffery1 Member Posts: 6 Contributor I

    Yes,i want the ANN to output a predicted numerical value. Most of the time, i want several predicted numerical values. Now ,i can only get one ,how to get more?

    Thank you!

    Jeffery 

  • Options
    MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,508 RM Data Scientist

    Hi @Jeffery1,

    you are talking about multi-label learning like the MEKA library provides? E.g. http://meka.sourceforge.net/

     

    I think this is not yet in RM. You would need to build independend models as of now. That might change soon.

     

    Best,

    Martin

    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
Sign In or Register to comment.