code: def test_should_be_deserializable(
      self, mocked_cooccurrence_load, mocked_tfidf_load
  ):
      # Given
      mocked_tfidf_load.return_value = "tfidf_vectorizer"
      mocked_cooccurrence_load.return_value = "cooccurrence_vectorizer"
  
      language = LANGUAGE_EN
      config = FeaturizerConfig()
  
      featurizer_dict = {
          "language_code": language,
          "tfidf_vectorizer": "tfidf_vectorizer",
          "cooccurrence_vectorizer": "cooccurrence_vectorizer",
          "config": config.to_dict(),
      }
  
      self.tmp_file_path.mkdir()
      featurizer_path = self.tmp_file_path / "featurizer.json"
      with featurizer_path.open("w", encoding="utf-8") as f:
          f.write(json_string(featurizer_dict))
  
      # When
      featurizer = Featurizer.from_path(self.tmp_file_path)
  
      # Then
      self.assertEqual(language, featurizer.language)
      self.assertEqual("tfidf_vectorizer", featurizer.tfidf_vectorizer)
      self.assertEqual(
          "cooccurrence_vectorizer", featurizer.cooccurrence_vectorizer
      )
      self.assertDictEqual(
          config.to_dict(), featurizer.config.to_dict()
      )
  
imports: from __future__ import unicode_literals
  import io
  from builtins import str, zip, range
  import numpy
  from checksumdir import dirhash
  from mock import patch, MagicMock
  from snips_nlu.common.io_utils import temp_dir
  from snips_nlu.common.utils import json_string
  from snips_nlu.constants import LANGUAGE_EN, STEMS, WORD_CLUSTERS, STOP_WORDS
  from snips_nlu.dataset import Dataset
  from snips_nlu.entity_parser import BuiltinEntityParser, CustomEntityParser
  from snips_nlu.entity_parser.custom_entity_parser_usage import CustomEntityParserUsage
  from snips_nlu.exceptions import _EmptyDatasetUtterancesError
  from snips_nlu.intent_classifier.featurizer import CooccurrenceVectorizer, Featurizer, TfidfVectorizer
  from snips_nlu.intent_classifier.log_reg_classifier_utils import text_to_utterance
  from snips_nlu.pipeline.configs import FeaturizerConfig
  from snips_nlu.pipeline.configs.intent_classifier import CooccurrenceVectorizerConfig, TfidfVectorizerConfig
  from snips_nlu.tests.utils import FixtureTest, get_empty_dataset, EntityParserMock
label_desc: Use image node_id 3 for calling the TestIntentClassifierFeaturizer obj's underlying member method code with example usage: obj.test_should_be_deserializable(mocked_cooccurrence_load, mocked_tfidf_load) without return types