Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initial commit #4

Merged
merged 2 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 0 additions & 34 deletions .github/workflows/run_pytest.yml

This file was deleted.

5 changes: 2 additions & 3 deletions views_stepshifter/manager/stepshifter_manager.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from views_pipeline_core.managers.model_manager import ModelManager
from views_pipeline_core.managers.path_manager import ModelPath
from views_pipeline_core.managers.model import ModelPathManager, ModelManager
from views_pipeline_core.models.outputs import generate_output_dict
from views_pipeline_core.files.utils import read_log_file, create_log_file
from views_pipeline_core.wandb.utils import add_wandb_monthly_metrics, generate_wandb_log_dict, log_wandb_log_dict
Expand All @@ -23,7 +22,7 @@

class StepshifterManager(ModelManager):

def __init__(self, model_path: ModelPath) -> None:
def __init__(self, model_path: ModelPathManager) -> None:
super().__init__(model_path)
self._is_hurdle = self._config_meta["algorithm"] == "HurdleModel"

Expand Down
2 changes: 1 addition & 1 deletion views_stepshifter/models/hurdle_model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from views_pipeline_core.managers.model_manager import ModelManager
from views_pipeline_core.managers.model import ModelManager
from views_stepshifter.models.stepshifter import StepshifterModel
from views_stepshifter.models.validation import views_validate
from views_forecasts.extensions import *
Expand Down
2 changes: 1 addition & 1 deletion views_stepshifter/models/stepshifter.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from typing import List, Dict
from views_forecasts.extensions import *
from views_stepshifter.models.validation import views_validate
from views_pipeline_core.managers.model_manager import ModelManager
from views_pipeline_core.managers.model import ModelManager

logger = logging.getLogger(__name__)

Expand Down
Loading