code: def __init__(self, warmup_steps, warmup_trials):
      self._warmup_steps = warmup_steps
      self._warmup_trials = warmup_trials
  
file_path: optuna/tutorial/20_recipes/006_user_defined_pruner.py
imports: import numpy
  from sklearn.datasets import load_iris
  from sklearn.model_selection import train_test_split
  from sklearn.linear_model import SGDClassifier
  import optuna
  from optuna.pruners import BasePruner
  from optuna.trial._state import TrialState
label_desc: Use image node_id 1 to create a new LastPlacePruner object from inherited base classes: BasePruner with example: obj = LastPlacePruner(warmup_steps, warmup_trials)