Is it possible to infer more than one parameter from Convolution neural network










0















I have a question and I am not sure if it's a smart one. But I've been reading quite a lot about convolution neural networks. And so far I understand that the output layer could for example be a softmax layer for a classification problem or you could do regression in order to get a quantitative value. But I was wondering if it is possible to infer more than one parameter. For example, if I have a data and my output label is both price of the house and size of the house. I know it is not a smart example. But I just want to know if it's possible to predict two different output values in the same output layer in the convolution neural network. Or do I need to have two different convolution neural network where one predicts the size of the house and the one predicts price of the house. And how can we combine these two predictions then. And if we can do it in one convolution neural network, then how can we do that?










share|improve this question


























    0















    I have a question and I am not sure if it's a smart one. But I've been reading quite a lot about convolution neural networks. And so far I understand that the output layer could for example be a softmax layer for a classification problem or you could do regression in order to get a quantitative value. But I was wondering if it is possible to infer more than one parameter. For example, if I have a data and my output label is both price of the house and size of the house. I know it is not a smart example. But I just want to know if it's possible to predict two different output values in the same output layer in the convolution neural network. Or do I need to have two different convolution neural network where one predicts the size of the house and the one predicts price of the house. And how can we combine these two predictions then. And if we can do it in one convolution neural network, then how can we do that?










    share|improve this question
























      0












      0








      0








      I have a question and I am not sure if it's a smart one. But I've been reading quite a lot about convolution neural networks. And so far I understand that the output layer could for example be a softmax layer for a classification problem or you could do regression in order to get a quantitative value. But I was wondering if it is possible to infer more than one parameter. For example, if I have a data and my output label is both price of the house and size of the house. I know it is not a smart example. But I just want to know if it's possible to predict two different output values in the same output layer in the convolution neural network. Or do I need to have two different convolution neural network where one predicts the size of the house and the one predicts price of the house. And how can we combine these two predictions then. And if we can do it in one convolution neural network, then how can we do that?










      share|improve this question














      I have a question and I am not sure if it's a smart one. But I've been reading quite a lot about convolution neural networks. And so far I understand that the output layer could for example be a softmax layer for a classification problem or you could do regression in order to get a quantitative value. But I was wondering if it is possible to infer more than one parameter. For example, if I have a data and my output label is both price of the house and size of the house. I know it is not a smart example. But I just want to know if it's possible to predict two different output values in the same output layer in the convolution neural network. Or do I need to have two different convolution neural network where one predicts the size of the house and the one predicts price of the house. And how can we combine these two predictions then. And if we can do it in one convolution neural network, then how can we do that?







      conv-neural-network






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 13 '18 at 22:53









      Shafa HaiderShafa Haider

      669




      669






















          1 Answer
          1






          active

          oldest

          votes


















          1














          In your mentioned cases, the output layer is most likely a dense layer, not a convolutional one. But that's beside the point, if you want multiple outputs, then multiple output layers are often trained. So the same convolutional network can go to two separate output layers, which can be trained independently. Then you've one neural network, with two outputs. The convolutional part is often received by transfer learning, and are often frozen layers that can no longer be trained. Have a look at the figures of this paper, this shows how it can be done.






          share|improve this answer























          • Thank you. That makes much more sense. So just like we can have multiple input branches, we can have multiple output branches.

            – Shafa Haider
            Nov 13 '18 at 23:05






          • 1





            yes, you can even have a an input leading to a few convolutional layers, those leading to two seperate convolutional networks, each with their own output layer. The sky is the limit.

            – T. Kelher
            Nov 13 '18 at 23:10










          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53290720%2fis-it-possible-to-infer-more-than-one-parameter-from-convolution-neural-network%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          In your mentioned cases, the output layer is most likely a dense layer, not a convolutional one. But that's beside the point, if you want multiple outputs, then multiple output layers are often trained. So the same convolutional network can go to two separate output layers, which can be trained independently. Then you've one neural network, with two outputs. The convolutional part is often received by transfer learning, and are often frozen layers that can no longer be trained. Have a look at the figures of this paper, this shows how it can be done.






          share|improve this answer























          • Thank you. That makes much more sense. So just like we can have multiple input branches, we can have multiple output branches.

            – Shafa Haider
            Nov 13 '18 at 23:05






          • 1





            yes, you can even have a an input leading to a few convolutional layers, those leading to two seperate convolutional networks, each with their own output layer. The sky is the limit.

            – T. Kelher
            Nov 13 '18 at 23:10















          1














          In your mentioned cases, the output layer is most likely a dense layer, not a convolutional one. But that's beside the point, if you want multiple outputs, then multiple output layers are often trained. So the same convolutional network can go to two separate output layers, which can be trained independently. Then you've one neural network, with two outputs. The convolutional part is often received by transfer learning, and are often frozen layers that can no longer be trained. Have a look at the figures of this paper, this shows how it can be done.






          share|improve this answer























          • Thank you. That makes much more sense. So just like we can have multiple input branches, we can have multiple output branches.

            – Shafa Haider
            Nov 13 '18 at 23:05






          • 1





            yes, you can even have a an input leading to a few convolutional layers, those leading to two seperate convolutional networks, each with their own output layer. The sky is the limit.

            – T. Kelher
            Nov 13 '18 at 23:10













          1












          1








          1







          In your mentioned cases, the output layer is most likely a dense layer, not a convolutional one. But that's beside the point, if you want multiple outputs, then multiple output layers are often trained. So the same convolutional network can go to two separate output layers, which can be trained independently. Then you've one neural network, with two outputs. The convolutional part is often received by transfer learning, and are often frozen layers that can no longer be trained. Have a look at the figures of this paper, this shows how it can be done.






          share|improve this answer













          In your mentioned cases, the output layer is most likely a dense layer, not a convolutional one. But that's beside the point, if you want multiple outputs, then multiple output layers are often trained. So the same convolutional network can go to two separate output layers, which can be trained independently. Then you've one neural network, with two outputs. The convolutional part is often received by transfer learning, and are often frozen layers that can no longer be trained. Have a look at the figures of this paper, this shows how it can be done.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 13 '18 at 23:00









          T. KelherT. Kelher

          33126




          33126












          • Thank you. That makes much more sense. So just like we can have multiple input branches, we can have multiple output branches.

            – Shafa Haider
            Nov 13 '18 at 23:05






          • 1





            yes, you can even have a an input leading to a few convolutional layers, those leading to two seperate convolutional networks, each with their own output layer. The sky is the limit.

            – T. Kelher
            Nov 13 '18 at 23:10

















          • Thank you. That makes much more sense. So just like we can have multiple input branches, we can have multiple output branches.

            – Shafa Haider
            Nov 13 '18 at 23:05






          • 1





            yes, you can even have a an input leading to a few convolutional layers, those leading to two seperate convolutional networks, each with their own output layer. The sky is the limit.

            – T. Kelher
            Nov 13 '18 at 23:10
















          Thank you. That makes much more sense. So just like we can have multiple input branches, we can have multiple output branches.

          – Shafa Haider
          Nov 13 '18 at 23:05





          Thank you. That makes much more sense. So just like we can have multiple input branches, we can have multiple output branches.

          – Shafa Haider
          Nov 13 '18 at 23:05




          1




          1





          yes, you can even have a an input leading to a few convolutional layers, those leading to two seperate convolutional networks, each with their own output layer. The sky is the limit.

          – T. Kelher
          Nov 13 '18 at 23:10





          yes, you can even have a an input leading to a few convolutional layers, those leading to two seperate convolutional networks, each with their own output layer. The sky is the limit.

          – T. Kelher
          Nov 13 '18 at 23:10

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53290720%2fis-it-possible-to-infer-more-than-one-parameter-from-convolution-neural-network%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          這個網誌中的熱門文章

          Barbados

          How to read a connectionString WITH PROVIDER in .NET Core?

          Node.js Script on GitHub Pages or Amazon S3