Skip to content

Commit

Permalink
bugfix in ts dataloader (#235)
Browse files Browse the repository at this point in the history
* remove concat from time series dataloader unpack

* pin xgboost
  • Loading branch information
robsdavis authored Sep 12, 2023
1 parent 7c1d9b5 commit d36f37f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ install_requires =
pydantic<2.0
cloudpickle
scipy
xgboost
xgboost<2.0.0
geomloss
pgmpy
redis
Expand Down
2 changes: 1 addition & 1 deletion src/synthcity/plugins/core/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ def unpack(self, as_numpy: bool = False, pad: bool = False) -> Any:
longest_observation_seq = max([len(seq) for seq in temporal_data])
return (
np.asarray(static_data),
np.asarray(pd.concat(temporal_data)),
np.asarray(temporal_data),
# masked array to handle variable length sequences
ma.vstack(
[
Expand Down

0 comments on commit d36f37f

Please sign in to comment.