Skip to content

Commit

Permalink
refactor: make OutputFeature.predictions() name consistent to origina…
Browse files Browse the repository at this point in the history
…l naming
  • Loading branch information
jimthompson5802 committed Mar 25, 2020
1 parent 392fbf4 commit 9e36022
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ludwig/features/numerical_feature.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def logits(

return predictions, inputs

def predict(
def predictions(
self,
inputs, # hidden
):
Expand Down
2 changes: 1 addition & 1 deletion ludwig/models/ecd.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def predict(self, inputs, output_features=None):
)

for of_name in of_list:
predictions = self.output_features[of_name].predict(logits[of_name])
predictions = self.output_features[of_name].predictions(logits[of_name])

return predictions

Expand Down

0 comments on commit 9e36022

Please sign in to comment.