Scenario
read_aslib_scenario(path, add_running_time_features=True)
Read an ASlib scenario from a file.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
path
|
str
|
The path to the ASlib scenario directory. |
required |
add_running_time_features
|
bool
|
Whether to include running time features. Defaults to True. |
True
|
Returns:
Type | Description |
---|---|
tuple[DataFrame, DataFrame, DataFrame, list[str], bool, float]
|
tuple[pd.DataFrame, pd.DataFrame, pd.DataFrame, list[str], bool, float]: - features (pd.DataFrame): A DataFrame containing the feature values for each instance. - performance (pd.DataFrame): A DataFrame containing the performance data for each algorithm and instance. - cv (pd.DataFrame): A DataFrame containing cross-validation data. - feature_groups (list[str]): A list of feature groups defined in the scenario. - maximize (bool): A flag indicating whether the objective is to maximize performance. - budget (float): The algorithm cutoff time or budget for the scenario. |
Raises:
Type | Description |
---|---|
ImportError
|
If the required ASlib library is not available. |