This repository has been archived by the owner on May 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #261 from Aarhus-Psychiatry-Research/HLasse/Add-wa…
…ndb-eval-watcher feat: add wandb eval watcher
- Loading branch information
Showing
12 changed files
with
474 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,5 +7,5 @@ hydra: | |
sweeper: | ||
sampler: | ||
seed: 123 | ||
n_trials: 1000 | ||
n_trials: 3 | ||
direction: maximize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"""Dataclasses used in the project.""" | ||
from typing import Optional | ||
|
||
import pandas as pd | ||
from omegaconf import DictConfig | ||
from pydantic import BaseModel | ||
|
||
# pylint: disable=missing-class-docstring, too-few-public-methods | ||
|
||
|
||
class ModelEvalData(BaseModel): | ||
"""Dataclass for model evaluation data.""" | ||
|
||
class Config: | ||
arbitrary_types_allowed = True | ||
|
||
df: pd.DataFrame | ||
cfg: DictConfig | ||
feature_importance_dict: Optional[dict[str, float]] = None |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.