class_docstr: Configuration builder for WitWidget settings.
docstr: Sets the string value of numeric labels for classification models.
  
  For classification models, the model returns scores for each class ID
  number (classes 0 and 1 for binary classification models). In order for
  WIT to visually display the results in a more-readable way, you can specify
  string labels for each class ID.
  
  Args:
    vocab: A list of strings, where the string at each index corresponds to
    the label for that class ID. For example ['<=50K', '>50K'] for the UCI
    census binary classification task.
  
  Returns:
    self, in order to enabled method chaining.
docstr_tok: ["Sets","the","string","value","of","numeric","labels","for","classification","models",".","For","classification","models",",","the","model","returns","scores","for","each","class","ID","number","(","classes","0","and","1","for","binary","classification","models",")",".","In","order","for","WIT","to","visually","display","the","results","in","a","more-readable","way",",","you","can","specify","string","labels","for","each","class","ID",".","Args",":","vocab",":","A","list","of","strings",",","where","the","string","at","each","index","corresponds","to","the","label","for","that","class","ID",".","For","example","[","'","<","=50K","'",",","'",">","50K","'","]","for","the","UCI","census","binary","classification","task",".","Returns",":","self",",","in","order","to","enabled","method","chaining","."]
code: def set_label_vocab(self, vocab):
      """Sets the string value of numeric labels for classification models.
  
      For classification models, the model returns scores for each class ID
      number (classes 0 and 1 for binary classification models). In order for
      WIT to visually display the results in a more-readable way, you can specify
      string labels for each class ID.
  
      Args:
        vocab: A list of strings, where the string at each index corresponds to
        the label for that class ID. For example ['<=50K', '>50K'] for the UCI
        census binary classification task.
  
      Returns:
        self, in order to enabled method chaining.
      """
      self.store("label_vocab", vocab)
      return self
  
imports: import sys
  import tensorflow
label_desc: Use image node_id 22 for calling the WitConfigBuilder obj's underlying member method code with example usage: obj.set_label_vocab(vocab) and returns: self