class_docstr: Object returned by explainers
class_docstr_tok: ["Object","returned","by","explainers"]
docstr: Returns a list of the features used in the anchor conditions.
  Args:
      partial_index (int): lets you get the anchor until a certain index.
      For example, if the anchor uses features (1, 2, 3) and
      partial_index=1, this will return [1, 2]
docstr_tok: ["Returns","a","list","of","the","features","used","in","the","anchor","conditions",".","Args",":","partial_index","(","int",")",":","lets","you","get","the","anchor","until","a","certain","index",".","For","example",",","if","the","anchor","uses","features","(","1",",","2",",","3",")","and","partial_index=1",",","this","will","return","[","1",",","2","]"]
code: def features(self, partial_index=None):
      """
      Returns a list of the features used in the anchor conditions.
      Args:
          partial_index (int): lets you get the anchor until a certain index.
          For example, if the anchor uses features (1, 2, 3) and
          partial_index=1, this will return [1, 2]
      """
      features = self.exp_map["feature"]
      if partial_index is not None:
          features = features[: partial_index + 1]
      return features
  
file_path: anchor/anchor/anchor_explanation.py
imports: from __future__ import print_function
  import io
label_desc: Use image node_id 3 for calling the AnchorExplanation obj's underlying member method code with example usage: obj.features(partial_index) and returns: features