Learning with missing features (MNAR)Supervised Learning with Necessarily Missing DataIs there any difference between feature extraction and feature learning?Missing Categorical Features - no imputationDeploying the prediction model under missing values for test dataDoes encoding missing values help?Can we look just at the other features when we have a missing vaue?Imputation missing values other than using Mean, Median in pythonDealing with NaN (missing) values for Logistic Regression- Best practices?Balance data using different criteriaHow to deal with missing data for Bernoulli Naive Bayes?

What is the reasoning behind standardization (dividing by standard deviation)?

Error in master's thesis, I do not know what to do

Why do I have a large white artefact on the rendered image?

Why doesn't the fusion process of the sun speed up?

Norwegian Refugee travel document

Is this Pascal's Matrix?

What (if any) is the reason to buy in small local stores?

What is the tangent at a sharp point on a curve?

Is "inadequate referencing" a euphemism for plagiarism?

How to test the sharpness of a knife?

Single word to change groups

Recursively updating the MLE as new observations stream in

Do native speakers use "ultima" and "proxima" frequently in spoken English?

Unfrosted light bulb

Should a narrator ever describe things based on a characters view instead of fact?

How do researchers send unsolicited emails asking for feedback on their works?

The English Debate

pipe commands inside find -exec?

Hackerrank All Women's Codesprint 2019: Name the Product

How do you justify more code being written by following clean code practices?

How can I create URL shortcuts/redirects for task/diff IDs in Phabricator?

10 year ban after applying for a UK student visa

Is VPN a layer 3 concept?

Weird lines in Microsoft Word



Learning with missing features (MNAR)


Supervised Learning with Necessarily Missing DataIs there any difference between feature extraction and feature learning?Missing Categorical Features - no imputationDeploying the prediction model under missing values for test dataDoes encoding missing values help?Can we look just at the other features when we have a missing vaue?Imputation missing values other than using Mean, Median in pythonDealing with NaN (missing) values for Logistic Regression- Best practices?Balance data using different criteriaHow to deal with missing data for Bernoulli Naive Bayes?













0












$begingroup$


I want to learn from features that may have some missing informations. The value of the variable that's missing is related to the reason it's missing (MNAR)



To better understand my case, here is an example :



I want to learn a model for voice recognition. When using the model I'll know who will be speaking.

I have training data for those speakers, but I also have other data with speakers that will not use the model.



I don't want to add features for those speakers, only for those that will use the model.

How can I process the inputs before training the neural network without risking to damage the performance of the end users ?



For now I intend to use this method :



Each end user, for wich I know the identity, will have a dedicated feature. When training on speaker without dedicated feature :



  • A feature that represent "have dedicated identity feature" will be set to -1.

  • All identity features will be put to 0.

For example :

End user 1 → [1 -1 -1 ... 1]

End user 2 → [-1 1 -1 ... 1]

End user 2 → [-1 -1 1 ... 1]

...



speakers only for training → [0 0 0 ... -1]



Is this the right thing to do ? Is there a better way ?



P.S. - I can only modify the inputs, the neural network's architecture cannot be modified, so I can't use things like dropout.










share|improve this question









$endgroup$
















    0












    $begingroup$


    I want to learn from features that may have some missing informations. The value of the variable that's missing is related to the reason it's missing (MNAR)



    To better understand my case, here is an example :



    I want to learn a model for voice recognition. When using the model I'll know who will be speaking.

    I have training data for those speakers, but I also have other data with speakers that will not use the model.



    I don't want to add features for those speakers, only for those that will use the model.

    How can I process the inputs before training the neural network without risking to damage the performance of the end users ?



    For now I intend to use this method :



    Each end user, for wich I know the identity, will have a dedicated feature. When training on speaker without dedicated feature :



    • A feature that represent "have dedicated identity feature" will be set to -1.

    • All identity features will be put to 0.

    For example :

    End user 1 → [1 -1 -1 ... 1]

    End user 2 → [-1 1 -1 ... 1]

    End user 2 → [-1 -1 1 ... 1]

    ...



    speakers only for training → [0 0 0 ... -1]



    Is this the right thing to do ? Is there a better way ?



    P.S. - I can only modify the inputs, the neural network's architecture cannot be modified, so I can't use things like dropout.










    share|improve this question









    $endgroup$














      0












      0








      0





      $begingroup$


      I want to learn from features that may have some missing informations. The value of the variable that's missing is related to the reason it's missing (MNAR)



      To better understand my case, here is an example :



      I want to learn a model for voice recognition. When using the model I'll know who will be speaking.

      I have training data for those speakers, but I also have other data with speakers that will not use the model.



      I don't want to add features for those speakers, only for those that will use the model.

      How can I process the inputs before training the neural network without risking to damage the performance of the end users ?



      For now I intend to use this method :



      Each end user, for wich I know the identity, will have a dedicated feature. When training on speaker without dedicated feature :



      • A feature that represent "have dedicated identity feature" will be set to -1.

      • All identity features will be put to 0.

      For example :

      End user 1 → [1 -1 -1 ... 1]

      End user 2 → [-1 1 -1 ... 1]

      End user 2 → [-1 -1 1 ... 1]

      ...



      speakers only for training → [0 0 0 ... -1]



      Is this the right thing to do ? Is there a better way ?



      P.S. - I can only modify the inputs, the neural network's architecture cannot be modified, so I can't use things like dropout.










      share|improve this question









      $endgroup$




      I want to learn from features that may have some missing informations. The value of the variable that's missing is related to the reason it's missing (MNAR)



      To better understand my case, here is an example :



      I want to learn a model for voice recognition. When using the model I'll know who will be speaking.

      I have training data for those speakers, but I also have other data with speakers that will not use the model.



      I don't want to add features for those speakers, only for those that will use the model.

      How can I process the inputs before training the neural network without risking to damage the performance of the end users ?



      For now I intend to use this method :



      Each end user, for wich I know the identity, will have a dedicated feature. When training on speaker without dedicated feature :



      • A feature that represent "have dedicated identity feature" will be set to -1.

      • All identity features will be put to 0.

      For example :

      End user 1 → [1 -1 -1 ... 1]

      End user 2 → [-1 1 -1 ... 1]

      End user 2 → [-1 -1 1 ... 1]

      ...



      speakers only for training → [0 0 0 ... -1]



      Is this the right thing to do ? Is there a better way ?



      P.S. - I can only modify the inputs, the neural network's architecture cannot be modified, so I can't use things like dropout.







      machine-learning neural-network missing-data






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 1 hour ago









      Adrian B.Adrian B.

      11




      11




















          0






          active

          oldest

          votes











          Your Answer





          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "557"
          ;
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2fdatascience.stackexchange.com%2fquestions%2f47567%2flearning-with-missing-features-mnar%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Data Science Stack Exchange!


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

          Use MathJax to format equations. MathJax reference.


          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%2fdatascience.stackexchange.com%2fquestions%2f47567%2flearning-with-missing-features-mnar%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







          Popular posts from this blog

          ValueError: Error when checking input: expected conv2d_13_input to have shape (3, 150, 150) but got array with shape (150, 150, 3)2019 Community Moderator ElectionError when checking : expected dense_1_input to have shape (None, 5) but got array with shape (200, 1)Error 'Expected 2D array, got 1D array instead:'ValueError: Error when checking input: expected lstm_41_input to have 3 dimensions, but got array with shape (40000,100)ValueError: Error when checking target: expected dense_1 to have shape (7,) but got array with shape (1,)ValueError: Error when checking target: expected dense_2 to have shape (1,) but got array with shape (0,)Keras exception: ValueError: Error when checking input: expected conv2d_1_input to have shape (150, 150, 3) but got array with shape (256, 256, 3)Steps taking too long to completewhen checking input: expected dense_1_input to have shape (13328,) but got array with shape (317,)ValueError: Error when checking target: expected dense_3 to have shape (None, 1) but got array with shape (7715, 40000)Keras exception: Error when checking input: expected dense_input to have shape (2,) but got array with shape (1,)

          Ружовы пелікан Змест Знешні выгляд | Пашырэнне | Асаблівасці біялогіі | Літаратура | НавігацыяДагледжаная версіяправерана1 зменаДагледжаная версіяправерана1 змена/ 22697590 Сістэматыкана ВіківідахВыявына Вікісховішчы174693363011049382

          Illegal assignment from SObject to ContactFetching String, Id from Map - Illegal Assignment Id to Field / ObjectError: Compile Error: Illegal assignment from String to BooleanError: List has no rows for assignment to SObjectError on Test Class - System.QueryException: List has no rows for assignment to SObjectRemote action problemDML requires SObject or SObject list type error“Illegal assignment from List to List”Test Class Fail: Batch Class: System.QueryException: List has no rows for assignment to SObjectMapping to a user'List has no rows for assignment to SObject' Mystery