docstr: Test for explain_local of classical explainer
  :return:
docstr_tok: ["Test","for","explain_local","of","classical","explainer",":","return",":"]
code: def test_explain_model_local_default(self):
      """
      Test for explain_local of classical explainer
      :return:
      """
      X_train, X_test, y_train, y_test = setup_mnli_test_train_split()
      label_encoder = LabelEncoder()
      y_train = label_encoder.fit_transform(y_train)
      explainer = ClassicalTextExplainer()
      classifier, best_params = explainer.fit(X_train, y_train)
      explainer.preprocessor.labelEncoder = label_encoder
  
      local_explanation = explainer.explain_local(DOCUMENT)
      assert len(local_explanation.local_importance_values) == len(
          local_explanation.features
      )
  
file_path: interpret-text/test/unit/test_classical_explainer.py
imports: from interpret_text.experimental.classical import ClassicalTextExplainer
  from sklearn.preprocessing import LabelEncoder
  from utils_test import setup_mnli_test_train_split
  import pickle
  import os
label_desc: Use image node_id 2 for calling the TestClassicalExplainer obj's underlying member method code with example usage: obj.test_explain_model_local_default() without return types