class_docstr: Meta-estimator to set a custom probability threshold.
code: def __init__(
      self,
      classifier=None,
      *,
      probability_threshold=0.5,
      **kwargs,
  ):
      self.classifier = classifier
      self.probability_threshold = probability_threshold
      self.set_params(**kwargs)
  
imports: import sklearn.compose
  from sklearn.base import BaseEstimator, ClassifierMixin, clone
  from sklearn.compose import TransformedTargetRegressor
  from sklearn.preprocessing import PowerTransformer
  from sklearn.utils.validation import check_is_fitted
label_desc: Use image node_id 1 to create a new CustomProbabilityThresholdClassifier object from inherited base classes: ClassifierMixin, BaseEstimator with example: obj = CustomProbabilityThresholdClassifier(classifier)