Body: <p>Most of the traditional machine learning algorithms need a feature vector of a constant dimension to predict the label. </p>
  
  <p>Which algorithms can be used to predict a class label with a shorter or partial feature vector? </p>
  
  <p>For example, consider a search engine. In search engines, when the user types a few letters, the search engine predicts the context of the query and suggests more queries to user. </p>
  
  <p>Similarly, how can I predict a class label with an incomplete feature vector? I know one way is to pad the sequence, but I want a better solution.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-05T12:06:46.190Z
Comments.Text: Something that works at character level? search engines are more complex though
Comments.UserDisplayName: SajanGohil
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-06T13:03:02.963Z
Comments.Text: can you please introduce me some paper to study and get the idea?
Comments.UserDisplayName: Atena
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-06T13:59:03.753Z
Comments.Text: I am not sure about any specific paper, but now I realize you want something like partial embedding? Make do with 20 dimension out of 50? But for the search engine example, you can predict the whole word or query based on characters already input (there are other algorithms/DS like 'tries' for word completion but I don't think that's what you are asking for). It would help if you give a more proper example or a description for a more specific thing.
Comments.UserDisplayName: SajanGohil
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-06-07T14:22:14.397Z
Comments.Text: Thanks dear @SajanGohil. You are right. One solution is to predict the query based on the typed characters and then give it to model. in my question, imagine i have a tabular data in which number of features is constant (e.g. n). I need to use a model which can process samples with fewer features without padding the shorter sample.
Comments.UserDisplayName: Atena
Tags: <machine-learning><classification><prediction><data-preprocessing>
Title: How can I predict the label given a partial feature vector?
UserDisplayName: Atena
ThreadText: # How can I predict the label given a partial feature vector?
  
  (Asked by: username_0 on 2020-06-04)
  
  Most of the traditional machine learning algorithms need a feature vector of a constant dimension to predict the label.
  
  Which algorithms can be used to predict a class label with a shorter or partial feature vector?
  
  For example, consider a search engine. In search engines, when the user types a few letters, the search engine predicts the context of the query and suggests more queries to user.
  
  Similarly, how can I predict a class label with an incomplete feature vector? I know one way is to pad the sequence, but I want a better solution.
  
  **Tags:** machine-learning, classification, prediction, data-preprocessing
  > **Comments:**
  > **username_1**: Something that works at character level? search engines are more complex though  
  > **username_0**: can you please introduce me some paper to study and get the idea?  
  > **username_1**: I am not sure about any specific paper, but now I realize you want something like partial embedding? Make do with 20 dimension out of 50? But for the search engine example, you can predict the whole word or query based on characters already input (there are other algorithms/DS like 'tries' for word completion but I don't think that's what you are asking for). It would help if you give a more proper example or a description for a more specific thing.  
  > **username_0**: Thanks dear @SajanGohil. You are right. One solution is to predict the query based on the typed characters and then give it to model. in my question, imagine i have a tabular data in which number of features is constant (e.g. n). I need to use a model which can process samples with fewer features without padding the shorter sample.  
  
  ---
  
  ## 0 answers
  
  