class_docstr: Abstract base class for deep learning time series classifiers.
  
  The base classifier provides a deep learning default method for
  _predict and _predict_proba, and provides a new abstract method for building a
  model.
  
  Parameters
  ----------
  batch_size : int, default = 40
      training batch size for the model
  
  Attributes
  ----------
  self.model_ - the fitted DL model
docstr: Construct a compiled, un-trained, keras model that is ready for training.
  
  Parameters
  ----------
  input_shape : tuple
      The shape of the data fed into the input layer
  n_classes: int
      The number of classes, which shall become the size of the output
      layer
  
  Returns
  -------
  A compiled Keras Model
docstr_tok: ["Construct","a","compiled",",","un-trained",",","keras","model","that","is","ready","for","training",".","Parameters","--","--","--","--","--","input_shape",":","tuple","The","shape","of","the","data","fed","into","the","input","layer","n_classes",":","int","The","number","of","classes",",","which","shall","become","the","size","of","the","output","layer","Returns","--","--","--","-","A","compiled","Keras","Model"]
code: def build_model(self, input_shape, n_classes, **kwargs):
      """Construct a compiled, un-trained, keras model that is ready for training.
  
      Parameters
      ----------
      input_shape : tuple
          The shape of the data fed into the input layer
      n_classes: int
          The number of classes, which shall become the size of the output
          layer
  
      Returns
      -------
      A compiled Keras Model
      """
      ...
  
imports: from abc import ABC, abstractmethod
  import numpy
  from sklearn.preprocessing import LabelEncoder, OneHotEncoder
  from sklearn.utils import check_random_state
  from sktime.base._base import SERIALIZATION_FORMATS
  from sktime.classification.base import BaseClassifier
  from sktime.utils.validation._dependencies import _check_soft_dependencies
label_desc: Use image node_id 2 for calling the BaseDeepClassifier obj's underlying member method code with example usage: obj.build_model(input_shape, n_classes) without return types