Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
simplymathematics committed Aug 13, 2024
1 parent a38ed17 commit d674b97
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deckard/base/model/sklearn_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@


@dataclass
class SklearnModelPipelineStage(Hashable):
class SklearnModelPipelineStage:
name: str
stage_name: str = None
kwargs: dict = field(default_factory=dict)
Expand Down Expand Up @@ -92,7 +92,7 @@ def __call__(self, model):


@dataclass
class SklearnModelPipeline(Hashable):
class SklearnModelPipeline:
pipeline: Dict[str, SklearnModelPipelineStage] = field(default_factory=dict)

def __init__(self, **kwargs):
Expand Down Expand Up @@ -202,7 +202,7 @@ def __call__(self, model):


@dataclass
class SklearnModelInitializer(Hashable):
class SklearnModelInitializer:
model: object = field(default_factory=None)
library: str = field(default_factory="sklearn")
pipeline: SklearnModelPipeline = field(default_factory=None)
Expand Down

0 comments on commit d674b97

Please sign in to comment.