Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build-backend = "setuptools.build_meta" # Standard entry point for setuptools bu

[project]
name = "twinweaver"
version = "0.3.3"
version = "0.3.4"
description = "Converting longitudinal patient data into text for LLM-based event prediction and forecasting."

# --- NEW/UPDATED FIELDS ---
Expand Down Expand Up @@ -46,7 +46,7 @@ classifiers = [
# dependencies
dependencies = [
"numpy",
"pandas<3.0.0",
"pandas",
"transformers",
"scikit-learn",
"jupyter",
Expand All @@ -58,7 +58,7 @@ dependencies = [
dev = [
"pytest",
"numpy",
"pandas<3.0.0",
"pandas",
"transformers",
"scikit-learn",
"ruff",
Expand Down
2 changes: 2 additions & 0 deletions twinweaver/instruction/data_splitter_forecasting.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,8 @@ def setup_statistics(self, train_patientids: list = None):
del temp_patient_data

all_possible_split_dates = pd.concat(all_possible_split_dates, axis=0, ignore_index=True)
# In case pandas 3.0.0 causes issues
all_possible_split_dates[self.config.date_col] = pd.to_datetime(all_possible_split_dates[self.config.date_col])
all_possible_split_dates = all_possible_split_dates.drop_duplicates()

#: filter to only train patients
Expand Down
Loading