class_docstr: Wraps scikitlearn classifiers.
  
  Parameters
  ----------
  strategy : str, default = "LightGBM"
      The choice for the classifier.
      Available strategies = {"LightGBM", "RandomForest", "ExtraTrees",
      "Tree", "Bagging", "AdaBoost" or "Linear"}.
  
  **params : default = None
      Parameters of the corresponding classifier.
      Examples : n_estimators, max_depth...
class_docstr_tok: ["Wraps","scikitlearn","classifiers",".","Parameters","--","--","--","--","--","strategy",":","str",",","default","=","``","LightGBM","''","The","choice","for","the","classifier",".","Available","strategies","=","{","``","LightGBM","''",",","``","RandomForest","''",",","``","ExtraTrees","''",",","``","Tree","''",",","``","Bagging","''",",","``","AdaBoost","''","or","``","Linear","''","}",".","*","*","params",":","default","=","None","Parameters","of","the","corresponding","classifier",".","Examples",":","n_estimators",",","max_depth","..."]
docstr: Set strategy parameters of Classifier object.
docstr_tok: ["Set","strategy","parameters","of","Classifier","object","."]
code: def set_params(self, **params):
      """Set strategy parameters of Classifier object."""
      self.__fitOK = False
  
      if "strategy" in params.keys():
          self.__set_classifier(params["strategy"])
  
          for k, v in self.__classif_params.items():
              if k not in self.get_params().keys():
                  warnings.warn(
                      "Invalid parameter for classifier "
                      + str(self.__strategy)
                      + ". Parameter IGNORED. Check the list of "
                      "available parameters with "
                      "`classifier.get_params().keys()`"
                  )
              else:
                  setattr(self.__classifier, k, v)
  
      for k, v in params.items():
          if k == "strategy":
              pass
          else:
              if k not in self.__classifier.get_params().keys():
                  warnings.warn(
                      "Invalid parameter for classifier "
                      + str(self.__strategy)
                      + ". Parameter IGNORED. Check the list of "
                      "available parameters with "
                      "`classifier.get_params().keys()`"
                  )
              else:
                  setattr(self.__classifier, k, v)
                  self.__classif_params[k] = v
  
file_path: MLBox/mlbox/model/classification/classifier.py
imports: import warnings
  from copy import copy
  import numpy
  import pandas
  from sklearn.ensemble import AdaBoostClassifier, BaggingClassifier, ExtraTreesClassifier, RandomForestClassifier
  from sklearn.linear_model import LogisticRegression
  from sklearn.tree import DecisionTreeClassifier
  from lightgbm import LGBMClassifier
label_desc: Use image node_id 3 for calling the Classifier obj's underlying member method code with example usage: obj.set_params() without return types