Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dice_ml/explainer_interfaces/explainer_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ def get_model_output_from_scores(self, model_scores):
else: # 1-D input
model_output[i] = np.round(model_scores[i])
elif self.model.model_type == ModelTypes.Regressor:
model_output[i] = model_scores[i]
model_output[i] = float(np.squeeze(model_scores[i]))
return model_output

def check_permitted_range(self, permitted_range):
Expand Down