class_docstr: Mixin class for tag aliasing and deprecation of old tags.
  
  To deprecate tags, add the TagAliaserMixin to BaseObject or BaseEstimator.
  alias_dict contains the deprecated tags, and supports removal and renaming.     For
  removal, add an entry "old_tag_name": ""     For renaming, add an entry
  "old_tag_name": "new_tag_name" deprecate_dict contains the version number of
  renaming or removal.     the keys in deprecate_dict should be the same as in
  alias_dict.     values in deprecate_dict should be strings, the version of
  removal/renaming.
  
  The class will ensure that new tags alias old tags and vice versa, during the
  deprecation period. Informative warnings will be raised whenever the deprecated tags
  are being accessed.
  
  When removing tags, ensure to remove the removed tags from this class. If no tags
  are deprecated anymore (e.g., all deprecated tags are removed/renamed), ensure
  toremove this class as a parent of BaseObject or BaseEstimator.
class_docstr_tok: ["Mixin","class","for","tag","aliasing","and","deprecation","of","old","tags",".","To","deprecate","tags",",","add","the","TagAliaserMixin","to","BaseObject","or","BaseEstimator",".","alias_dict","contains","the","deprecated","tags",",","and","supports","removal","and","renaming",".","For","removal",",","add","an","entry","``","old_tag_name","''",":","``","''","For","renaming",",","add","an","entry","''","old_tag_name","''",":","``","new_tag_name","''","deprecate_dict","contains","the","version","number","of","renaming","or","removal",".","the","keys","in","deprecate_dict","should","be","the","same","as","in","alias_dict",".","values","in","deprecate_dict","should","be","strings",",","the","version","of","removal\/renaming",".","The","class","will","ensure","that","new","tags","alias","old","tags","and","vice","versa",",","during","the","deprecation","period",".","Informative","warnings","will","be","raised","whenever","the","deprecated","tags","are","being","accessed",".","When","removing","tags",",","ensure","to","remove","the","removed","tags","from","this","class",".","If","no","tags","are","deprecated","anymore","(","e.g.",",","all","deprecated","tags","are","removed\/renamed",")",",","ensure","toremove","this","class","as","a","parent","of","BaseObject","or","BaseEstimator","."]
docstr: Print warning message for tag deprecation.
  
  Parameters
  ----------
  tags : list of str
  
  Raises
  ------
  DeprecationWarning for each tag in tags that is aliased by cls.alias_dict
docstr_tok: ["Print","warning","message","for","tag","deprecation",".","Parameters","--","--","--","--","--","tags",":","list","of","str","Raises","--","--","--","DeprecationWarning","for","each","tag","in","tags","that","is","aliased","by","cls.alias_dict"]
code: def _deprecate_tag_warn(cls, tags):
      """Print warning message for tag deprecation.
  
      Parameters
      ----------
      tags : list of str
  
      Raises
      ------
      DeprecationWarning for each tag in tags that is aliased by cls.alias_dict
      """
      for tag_name in tags:
          if tag_name in cls.alias_dict.keys():
              version = cls.deprecate_dict[tag_name]
              new_tag = cls.alias_dict[tag_name]
              msg = f"tag {tag_name!r} will be removed in sktime version {version}"
              if new_tag != "":
                  msg += f" and replaced by {new_tag!r}, please use {new_tag!r} instead"
              else:
                  msg += ', please remove code that access or sets "{tag_name}"'
              warnings.warn(
                  msg, category=DeprecationWarning, stacklevel=2
              )
  
imports: import warnings
  from copy import deepcopy
  from skbase.base import BaseObject
  from sklearn import clone
  from sklearn.base import BaseEstimator
  from sktime.exceptions import NotFittedError
  from sktime.utils.random_state import set_random_state
label_desc: Use image node_id 8 for calling the TagAliaserMixin obj's underlying member method code with example usage: obj._deprecate_tag_warn(cls, tags) without return types