Skip to content

Commit

Permalink
Merge pull request #65 from prio-data/fix_drift_casting
Browse files Browse the repository at this point in the history
force casting to float64 in drift detection
  • Loading branch information
jimdale authored Jun 19, 2024
2 parents 28d28d1 + 9b3a078 commit f0ff1a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "viewser"
version = "6.5.2"
version = "6.5.3"
description = "The Views 3 CLI tool"
authors = ["peder2911 <[email protected]>"]
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion viewser/commands/queryset/drift_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ class InputGate:

def __init__(self, df, drift_config_dict=None):
self.config_dict = drift_config_dict
self.tensor_container = objects.ViewsDataframe(df).to_numpy_time_space()
self.tensor_container = objects.ViewsDataframe(df, cast_to_dtype=np.float64).to_numpy_time_space()
self.numeric_part = self.tensor_container.get_numeric_part()
self.tensor = self.numeric_part.tensor
self.index = self.tensor_container.index
Expand Down

0 comments on commit f0ff1a3

Please sign in to comment.