Answers.Body: <blockquote>
    <p>What Neural Network does it learn from your input and output and creates a best algorithms.</p>
  </blockquote>
  
  <p>This is inaccurate. A neural network is a <em>function approximator</em>, so it approximates an unknown function. However, it does so in many cases by learning from your input and output(as in the case of supervised learning). The function your approximating would here for example be the function that maps a certain soundwave input to "open camera", etc.</p>
  
  <p>The problem with supervised learning is that you need massive datasets to accurately approximate the target function - luckily for Google they have such datasets and resources available.</p>
  
  <blockquote>
    <p>Is Google also Hard-Coded the commands for Google Voice Assistance?</p>
  </blockquote>
  
  <p>No, because that would not generalize well over multiple languages/accents/background noise, etc. It is therefor that neural networks as function approximators have had such a large impact over the last years - they generalize well.
  If you remember when the first "voice assistance" products came out, they rarely functioned - this was often due to them being "hard coded", with only static measures for noise-suppression.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-01T15:29:56.053Z
Answers.Text: Thanks Krrl, I know they uses ML for supports multiple languages / accents etc, but I want to know about their functionality not Speech Recognition. 
  Like If I said "Open WhatsApp" then obliviously ML convert that in Text which google uses that specific word like Open  & WhatsApp then hey Call some function to open whatsApp. I want to know is That Function for opening whatsApp is Hard-Coded or just their ML automatically learn how to open a specific App. Sorry if you think this is wired question :P
Answers.UserDisplayName: Sunny
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-01T16:03:55.430Z
Answers.Text: I dont think it is a weird question, but I also am not sure if I understand what you are asking correctly. I would think that their ML algorithm would have to use the app's specific API for the action of opening the app. I also think that they have different methods for the two different tasks - perhaps one method to extract the words, and one method to "understand" the extracted words(semantically analyze them), but I am not sure of their specific architecture here, sorry.
Answers.UserDisplayName: Krrrl
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-11-01T12:12:31.410Z
Answers.LastActivityDate: 2019-11-01T12:12:31.410Z
Answers.UserDisplayName: Krrrl
Body: <p>I want to build a Voice Assistance using Tensorflow, Like Google Assistance, So that I can give commands like:</p>
  
  <pre><code>Open Camera
  Send Message
  Play Music
  ETC
  </code></pre>
  
  <p>I know I can use pre-trained model for Voice Recognition but this is not my problem. If I know correctly, What Neural Network does it learn from your input and output and creates a best algorithms. </p>
  
  <p>So I want to know Is it possible to somehow train my network for my commands so that I don't have to HARD-CODED them because it is hard to remember so many command?</p>
  
  <p>Is Google also Hard-Coded the commands for Google Voice Assistance?</p>
  
  <p>Sorry, If I'm unable to explain this to you :P</p>
  
Tags: <machine-learning>
Title: Best way to train Neural Network for Voice Commands?
UserDisplayName: Sunny
ThreadText: # Best way to train Neural Network for Voice Commands?
  
  (Asked by: username_0 on 2019-11-01)
  
  I want to build a Voice Assistance using Tensorflow, Like Google Assistance, So that I can give commands like:
  Open Camera
  Send Message
  Play Music
  ETC
  
  I know I can use pre-trained model for Voice Recognition but this is not my problem. If I know correctly, What Neural Network does it learn from your input and output and creates a best algorithms. 
  So I want to know Is it possible to somehow train my network for my commands so that I don't have to HARD-CODED them because it is hard to remember so many command?
  Is Google also Hard-Coded the commands for Google Voice Assistance?
  Sorry, If I'm unable to explain this to you :P
  
  **Tags:** machine-learning
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-11-01. Score: 1
  
  > What Neural Network does it learn from your input and output and creates a best algorithms.
  
  This is inaccurate. A neural network is a *function approximator*, so it approximates an unknown function. However, it does so in many cases by learning from your input and output(as in the case of supervised learning). The function your approximating would here for example be the function that maps a certain soundwave input to "open camera", etc.
  
  The problem with supervised learning is that you need massive datasets to accurately approximate the target function - luckily for Google they have such datasets and resources available.
  
  > Is Google also Hard-Coded the commands for Google Voice Assistance?
  
  No, because that would not generalize well over multiple languages/accents/background noise, etc. It is therefor that neural networks as function approximators have had such a large impact over the last years - they generalize well.
  If you remember when the first "voice assistance" products came out, they rarely functioned - this was often due to them being "hard coded", with only static measures for noise-suppression.
  
  > **Comments:**
  > **username_0**: Thanks Krrl, I know they uses ML for supports multiple languages / accents etc, but I want to know about their functionality not Speech Recognition.  Like If I said "Open WhatsApp" then obliviously ML convert that in Text which google uses that specific word like Open  & WhatsApp then hey Call some function to open whatsApp. I want to know is That Function for opening whatsApp is Hard-Coded or just their ML automatically learn how to open a specific App. Sorry if you think this is wired question :P  
  > **username_1**: I dont think it is a weird question, but I also am not sure if I understand what you are asking correctly. I would think that their ML algorithm would have to use the app's specific API for the action of opening the app. I also think that they have different methods for the two different tasks - perhaps one method to extract the words, and one method to "understand" the extracted words(semantically analyze them), but I am not sure of their specific architecture here, sorry.  
  
  ---
  
  