class_docstr: A class to remove the redundant 'train' prefix in estimator parameters.
docstr: Modifies the ``ast.Call`` node to remove the 'train' prefix from its keywords.
  
  Args:
      node (ast.Call): a node that represents an estimator constructor.
  
  Returns:
      ast.AST: the original node, which has been potentially modified.
docstr_tok: ["Modifies","the","``","ast.Call","``","node","to","remove","the","'train","'","prefix","from","its","keywords",".","Args",":","node","(","ast.Call",")",":","a","node","that","represents","an","estimator","constructor",".","Returns",":","ast.AST",":","the","original","node",",","which","has","been","potentially","modified","."]
code: def modify_node(self, node):
      """Modifies the ``ast.Call`` node to remove the 'train' prefix from its keywords.
  
      Args:
          node (ast.Call): a node that represents an estimator constructor.
  
      Returns:
          ast.AST: the original node, which has been potentially modified.
      """
      for kw in node.keywords:
          if kw.arg in PARAMS:
              kw.arg = kw.arg.replace("train_", "")
      return node
  
imports: from __future__ import absolute_import
  from sagemaker.cli.compatibility.v2.modifiers import matching
  from sagemaker.cli.compatibility.v2.modifiers.modifier import Modifier
label_desc: Use image node_id 3 for calling the TrainPrefixRemover obj's underlying member method code with example usage: obj.modify_node(node) and returns: node