class_docstr: A classifier applying a relabeling function on the result of another
  classifier.
  
  Parameters
  ----------
  arg : catalyst.pipeline.Classifier
      Term produceing the input to be relabeled.
  relabel_func : function(LabelArray) -> LabelArray
      Function to apply to the result of `term`.
class_docstr_tok: ["A","classifier","applying","a","relabeling","function","on","the","result","of","another","classifier",".","Parameters","--","--","--","--","--","arg",":","catalyst.pipeline.Classifier","Term","produceing","the","input","to","be","relabeled",".","relabel_func",":","function","(","LabelArray",")","-",">","LabelArray","Function","to","apply","to","the","result","of","`","term","`","."]
code: def _compute(self, arrays, dates, assets, mask):
      relabeler = self.params["relabeler"]
      data = arrays[0]
  
      if isinstance(data, LabelArray):
          result = data.map(relabeler)
          result[~mask] = data.missing_value
      else:
          raise NotImplementedError(
              "Relabeling is not currently supported for "
              "int-dtype classifiers."
          )
      return result
  
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 2 for calling the Relabel obj's underlying member method code with example usage: obj._compute(arrays, dates, assets, mask) and returns: result