Skip to content

Commit

Permalink
updated type hint of estimator ids to be FeatureSetId instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoshiko committed May 29, 2024
1 parent 655385b commit 3eeb68f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nrel/routee/powertrain/core/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def to_file(self, file: Union[str, Path]):

def visualize_features(
self,
estimator_id: str,
estimator_id: FeatureSetId,
n_samples: Optional[int] = 100,
output_path: Optional[str] = None,
return_predictions: Optional[bool] = False,
Expand Down Expand Up @@ -234,7 +234,7 @@ def visualize_features(

def contour(
self,
estimator_id: str,
estimator_id: FeatureSetId,
x_feature: str,
y_feature: str,
n_samples: Optional[int] = 100,
Expand Down

0 comments on commit 3eeb68f

Please sign in to comment.