code: def __init__(self, classifier, compval):
      super(InvalidClassifierComparison, self).__init__(
          "Can't compare classifier of dtype"
          " {dtype} to value {value} of type {type}.".format(
              dtype=classifier.dtype,
              value=compval,
              type=type(compval).__name__,
          )
      )
  
imports: from numbers import Number
  import operator
  import re
  from numpy import where, isnan, nan, zeros
  import pandas
  from catalyst.lib.labelarray import LabelArray
  from catalyst.lib.quantiles import quantiles
  from catalyst.pipeline.api_utils import restrict_to_dtype
  from catalyst.pipeline.sentinels import NotSpecified
  from catalyst.pipeline.term import ComputableTerm
  from catalyst.utils.compat import unicode
  from catalyst.utils.input_validation import expect_types, expect_dtypes
  from catalyst.utils.memoize import classlazyval
  from catalyst.utils.numpy_utils import categorical_dtype, int64_dtype, vectorized_is_element
  from ..filters import ArrayPredicate, NotNullFilter, NullFilter, NumExprFilter
  from ..mixins import AliasedMixin, CustomTermMixin, DownsampledMixin, LatestMixin, PositiveWindowLengthMixin, RestrictedDTypeMixin, SingleInputMixin, StandardOutputs
label_desc: Use image node_id 1 to create a new InvalidClassifierComparison object from inherited base classes: TypeError with example: obj = InvalidClassifierComparison(classifier, compval)