class_docstr: Configuration builder for WitWidget settings.
docstr: Sets the name of the target feature in the provided examples.
  
  If the provided examples contain a feature that represents the target
  that the model is trying to predict, it can be specified by this method.
  This is necessary for AI Platform models so that the target feature isn't
  sent to the model for prediction, which can cause model inference errors.
  
  Args:
    target: The name of the feature in the examples that represents the value
    that the model is trying to predict.
  
  Returns:
    self, in order to enabled method chaining.
docstr_tok: ["Sets","the","name","of","the","target","feature","in","the","provided","examples",".","If","the","provided","examples","contain","a","feature","that","represents","the","target","that","the","model","is","trying","to","predict",",","it","can","be","specified","by","this","method",".","This","is","necessary","for","AI","Platform","models","so","that","the","target","feature","isn't","sent","to","the","model","for","prediction",",","which","can","cause","model","inference","errors",".","Args",":","target",":","The","name","of","the","feature","in","the","examples","that","represents","the","value","that","the","model","is","trying","to","predict",".","Returns",":","self",",","in","order","to","enabled","method","chaining","."]
code: def set_target_feature(self, target):
      """Sets the name of the target feature in the provided examples.
  
      If the provided examples contain a feature that represents the target
      that the model is trying to predict, it can be specified by this method.
      This is necessary for AI Platform models so that the target feature isn't
      sent to the model for prediction, which can cause model inference errors.
  
      Args:
        target: The name of the feature in the examples that represents the value
        that the model is trying to predict.
  
      Returns:
        self, in order to enabled method chaining.
      """
      self.store("target_feature", target)
      return self
  
imports: import sys
  import tensorflow
label_desc: Use image node_id 30 for calling the WitConfigBuilder obj's underlying member method code with example usage: obj.set_target_feature(target) and returns: self