Skip to content

Commit

Permalink
add load_predictions option
Browse files Browse the repository at this point in the history
  • Loading branch information
Innixma committed Feb 5, 2025
1 parent 7e7844c commit b03976d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tabrepo/repository/evaluation_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ def _construct_config_scorer(self,
raise ValueError(f'Invalid config_scorer_type: {config_scorer_type}')

@classmethod
def from_context(cls, version: str = None, cache: bool = False, prediction_format: str = "memmap") -> Self:
return load_repository(version=version, cache=cache, prediction_format=prediction_format)
def from_context(cls, version: str = None, cache: bool = False, load_predictions: bool = True, prediction_format: str = "memmap") -> Self:
return load_repository(version=version, cache=cache, load_predictions=load_predictions, prediction_format=prediction_format)

# TODO: 1. Cleanup results_lst_simulation_artifacts, 2. Make context work with tasks instead of datasets x folds
# TODO: Get raw data from repo method (X, y)
Expand Down

0 comments on commit b03976d

Please sign in to comment.