class_docstr: A Mitie Entity Extractor (which is a thin wrapper around `Dlib-ml`).
class_docstr_tok: ["A","Mitie","Entity","Extractor","(","which","is","a","thin","wrapper","around","`","Dlib-ml","`",")","."]
docstr: Checks whether the given configuration is valid.
  
  Args:
    config: a configuration for a Mitie entity extractor component
docstr_tok: ["Checks","whether","the","given","configuration","is","valid",".","Args",":","config",":","a","configuration","for","a","Mitie","entity","extractor","component"]
code: def validate_config(cls, config: Dict[Text, Any]) -> None:
      """Checks whether the given configuration is valid.
  
      Args:
        config: a configuration for a Mitie entity extractor component
      """
      num_threads = config.get("num_threads")
      if num_threads is None or num_threads <= 0:
          raise InvalidConfigException(
              f"Expected `num_threads` to be some value >= 1 (default: 1)."
              f"but received {num_threads}"
          )
  
imports: from __future__ import annotations
  import logging
  from rasa.nlu.tokenizers.tokenizer import Tokenizer
  import typing
  from typing import Any, Dict, List, Optional, Text, Type
  from rasa.engine.graph import GraphComponent, ExecutionContext
  from rasa.engine.recipes.default_recipe import DefaultV1Recipe
  from rasa.engine.storage.resource import Resource
  from rasa.engine.storage.storage import ModelStorage
  from rasa.nlu.constants import TOKENS_NAMES
  from rasa.shared.nlu.constants import ENTITY_ATTRIBUTE_CONFIDENCE, ENTITY_ATTRIBUTE_START, ENTITY_ATTRIBUTE_END, ENTITY_ATTRIBUTE_TYPE, ENTITY_ATTRIBUTE_VALUE, TEXT, ENTITIES
  from rasa.nlu.utils.mitie_utils import MitieModel, MitieNLP
  from rasa.nlu.extractors.extractor import EntityExtractorMixin
  from rasa.shared.nlu.training_data.training_data import TrainingData
  from rasa.shared.nlu.training_data.message import Message
  import rasa.shared.utils.io
  from rasa.shared.exceptions import InvalidConfigException
label_desc: Use image node_id 5 for calling the MitieEntityExtractor obj's underlying member method code with example usage: obj.validate_config(cls, config) without return types