Skip to content

Commit d6131a1

Browse files
Fix issue in imputation model
1 parent 83fda89 commit d6131a1

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

changelog_entry.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
- bump: patch
2+
changes:
3+
fixed:
4+
- Imputation model syntax.

policyengine_uk_data/utils/qrf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def predict(self, X):
6464
Returns:
6565
Predictions at the 0.5 quantile (median).
6666
"""
67-
return self.model.predict(X)[0.5]
67+
return self.model.predict(X)
6868

6969
def save(self, file_path: str):
7070
"""

0 commit comments

Comments
 (0)