Skip to content

Commit

Permalink
Fixing local predictions for ensembles and fusions input_fields
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerce committed Jun 6, 2019
1 parent d891e72 commit 2e33082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bigml/ensemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ def __init__(self, ensemble,
self.objective_id = ensemble['object'].get("objective_field")
query_string = EXCLUDE_FIELDS
no_check_fields = True
self.input_fields = ensemble['object'].get('input_fields')

number_of_models = len(models)
if max_models is None:
Expand Down
1 change: 1 addition & 0 deletions bigml/fusion.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def __init__(self, fusion, api=None, max_models=None):
self.fields = fusion.get( \
'fusion', {}).get("fields")
self.objective_id = fusion.get("objective_field")
self.input_fields = fusion.get("input_fields")

number_of_models = len(self.model_ids)

Expand Down

0 comments on commit 2e33082

Please sign in to comment.