benchmark
class JAHSConfig
dataclass
#
Bases: Config
The config for JAHSBench, useful to have regardless of the configspace used.
github.com/automl/jahs_bench_201/blob/main/jahs_bench/lib/core/configspace.py
def validate()
#
Validate this config incase required.
Source code in src/mfpbench/jahs/benchmark.py
class JAHSResult
dataclass
#
Bases: Result[JAHSConfig, int]
score: float
prop
#
The score of interest.
error: float
prop
#
The error of interest.
test_score: float
prop
#
The score on the test set.
test_error: float
prop
#
The error on the test set.
val_score: float
prop
#
The score on the validation set.
val_error: float
prop
#
The error on the validation set.
cost: float
prop
#
The time taken (assumed to be seconds).
class JAHSBenchmark(task_id, *, datadir=None, seed=None, prior=None, perturb_prior=None)
#
Bases: Benchmark[JAHSConfig, JAHSResult, int]
, ABC
PARAMETER | DESCRIPTION |
---|---|
task_id |
The specific task to use.
TYPE:
|
datadir |
The path to where mfpbench stores it data. If left to |
seed |
The seed to give this benchmark instance
TYPE:
|
prior |
The prior to use for the benchmark.
TYPE:
|
perturb_prior |
If given, will perturb the prior by this amount.
Only used if
TYPE:
|