class_docstr: Implementation of Fredrikson et al. white box inference attack for decision trees.
  
  Assumes that the attacked feature is discrete or categorical, with limited number of possible values. For example:
  a boolean feature.
  
  | Paper link: https://dl.acm.org/doi/10.1145/2810103.2813677
class_docstr_tok: ["Implementation","of","Fredrikson","et","al",".","white","box","inference","attack","for","decision","trees",".","Assumes","that","the","attacked","feature","is","discrete","or","categorical",",","with","limited","number","of","possible","values",".","For","example",":","a","boolean","feature",".","|","Paper","link",":","https",":","\/\/dl.acm.org\/doi\/10.1145\/2810103.2813677"]
docstr: Create an AttributeInferenceWhiteBoxLifestyle attack instance.
  
  :param estimator: Target estimator.
  :param attack_feature: The index of the feature to be attacked.
docstr_tok: ["Create","an","AttributeInferenceWhiteBoxLifestyle","attack","instance",".",":","param","estimator",":","Target","estimator",".",":","param","attack_feature",":","The","index","of","the","feature","to","be","attacked","."]
code: def __init__(
      self,
      estimator: Union["CLASSIFIER_TYPE", "REGRESSOR_TYPE"],
      attack_feature: int = 0,
  ):
      """
      Create an AttributeInferenceWhiteBoxLifestyle attack instance.
  
      :param estimator: Target estimator.
      :param attack_feature: The index of the feature to be attacked.
      """
      super().__init__(
          estimator=estimator, attack_feature=attack_feature
      )
      self.attack_feature: int
      self._check_params()
  
file_path: adversarial-robustness-toolbox/art/attacks/inference/attribute_inference/white_box_lifestyle_decision_tree.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  from typing import Optional, Union, TYPE_CHECKING
  import numpy
  from art.attacks.attack import AttributeInferenceAttack
  from art.estimators.classification.scikitlearn import ScikitlearnDecisionTreeClassifier
  from art.estimators.regression.scikitlearn import ScikitlearnDecisionTreeRegressor
label_desc: Use image node_id 1 to create a new AttributeInferenceWhiteBoxLifestyleDecisionTree object from inherited base classes: AttributeInferenceAttack with example: obj = AttributeInferenceWhiteBoxLifestyleDecisionTree(estimator, attack_feature)