Skip to content

Commit

Permalink
Add docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancescMartiEscofetQC committed Jul 15, 2024
1 parent 6466e9c commit e8d7a8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions metalearners/metalearner.py
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,8 @@ def _validate_onnx_models(
)

def _validate_feature_set_none(self):
"""Validates that the feature set for all the models is None, i.e. all models
use all features."""
for feature_set in self.feature_set.values():
if feature_set is not None:
raise ValueError(
Expand Down

0 comments on commit e8d7a8d

Please sign in to comment.