docstr: ```
  evaluate
  Args:
    x_test(list or np.ndarray):  training texts
    y_test(np.ndarray):  training labels
  ```
docstr_tok: ["``","`","evaluate","Args",":","x_test","(","list","or","np.ndarray",")",":","training","texts","y_test","(","np.ndarray",")",":","training","labels","``","`"]
code: def evaluate(self, x_test, y_test):
      """
      ```
      evaluate
      Args:
        x_test(list or np.ndarray):  training texts
        y_test(np.ndarray):  training labels
      ```
      """
      predicted = self.predict(x_test)
      return np.mean(predicted == y_test)
  
imports: from .None import utils
  from .imports import *
label_desc: Use image node_id 8 for calling the Classifier obj's underlying member method code with example usage: obj.evaluate(x_test, y_test) and returns: np