Skip to content

Commit 0f0ab6d

Browse files
Merge pull request #184 from PolicyEngine/imp-fix
Fix issue in imputation model
2 parents 83fda89 + d6131a1 commit 0f0ab6d

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)