QuickTuner - Image Classification#
QuickImageCLSTuner
#
Bases: QuickTuner
QuickTuner for image classification.
Parameters:
-
data_path
(str
) –Path to the dataset.
-
path
(str
, default:None
) –Path to save the optimizer. Defaults to None.
-
verbosity
(int
, default:2
) –Verbosity level. Defaults to 2.
Source code in src/qtt/tuners/image/classification/tuner.py
run(fevals=None, time_budget=None, trial_info=None)
#
Parameters:
-
fevals
(int
, default:None
) –Number of function evaluations to run. Defaults to None.
-
time_budget
(float
, default:None
) –Time budget in seconds. Defaults to None.
-
trial_info
(dict
, default:None
) –Additional information to pass to the objective function. Defaults to None.
Returns:
-
tuple[ndarray, ndarray, ndarray]
–- np.ndarray: Trajectory of the incumbent scores.
- np.ndarray: Runtime of the incumbent evaluations.
- np.ndarray: History of all evaluations.