code: def test_should_be_deserializable(self):
      # Given
      featurizer = Featurizer()
      featurizer_path = self.tmp_file_path / "featurizer"
      self.tmp_file_path.mkdir()
  
      featurizer.persist(featurizer_path)
  
      intent_list = ["MakeCoffee", "MakeTea", None]
  
      coeffs = [
          [1.23, 4.5],
          [6.7, 8.90],
          [1.01, 2.345],
      ]
  
      intercept = [0.34, 0.41, -0.98]
  
      t_ = 701.0
  
      config = LogRegIntentClassifierConfig().to_dict()
  
      classifier_dict = {
          "coeffs": coeffs,
          "intercept": intercept,
          "t_": t_,
          "intent_list": intent_list,
          "config": config,
          "featurizer": "featurizer",
      }
  
      metadata = {"unit_name": "log_reg_intent_classifier"}
      self.writeJsonContent(
          self.tmp_file_path / "metadata.json", metadata
      )
      self.writeJsonContent(
          self.tmp_file_path / "intent_classifier.json", classifier_dict
      )
  
      # When
      classifier = LogRegIntentClassifier.from_path(self.tmp_file_path)
  
      # Then
      self.assertEqual(classifier.intent_list, intent_list)
      self.assertIsNotNone(classifier.featurizer)
      self.assertListEqual(classifier.classifier.coef_.tolist(), coeffs)
      self.assertListEqual(
          classifier.classifier.intercept_.tolist(), intercept
      )
      self.assertDictEqual(classifier.config.to_dict(), config)
  
imports: from __future__ import unicode_literals
  import io
  import sys
  from builtins import str
  from unittest import skipIf
  from checksumdir import dirhash
  from mock import patch
  from snips_nlu.common.io_utils import temp_dir
  from snips_nlu.constants import INTENTS, LANGUAGE_EN, RES_INTENT_NAME, RES_PROBA, UTTERANCES
  from snips_nlu.dataset import Dataset
  from snips_nlu.exceptions import NotTrained
  from snips_nlu.intent_classifier import LogRegIntentClassifier
  from snips_nlu.intent_classifier.featurizer import Featurizer
  from snips_nlu.intent_classifier.log_reg_classifier_utils import text_to_utterance
  from snips_nlu.pipeline.configs import LogRegIntentClassifierConfig
  from snips_nlu.result import intent_classification_result
  from snips_nlu.tests.utils import FixtureTest, get_empty_dataset
label_desc: Use image node_id 10 for calling the TestLogRegIntentClassifier obj's underlying member method code with example usage: obj.test_should_be_deserializable() without return types