Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: adding advanced example dataset #267

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

MarIniOnz
Copy link
Contributor

Adding an advanced example dataset with 600 patients with call:

medmodels.MedRecord.from_advanced_example_dataset()
  • Also changing the name of the temporal attributes in the basic example dataset to "time" so that they are unified and the querying is easier

@MarIniOnz MarIniOnz requested review from JabobKrauskopf and a team as code owners December 2, 2024 13:22
@MarIniOnz MarIniOnz linked an issue Dec 2, 2024 that may be closed by this pull request
@MarIniOnz MarIniOnz force-pushed the 253-add-advanced-example-dataset branch from 96bacd4 to 0a3f443 Compare December 2, 2024 13:48
Copy link
Contributor

@LauraBoenchenLB LauraBoenchenLB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool! Will be very useful for testing and trying out new methods in the future!

LauraBoenchenLB
LauraBoenchenLB previously approved these changes Dec 6, 2024
Copy link
Contributor

@LauraBoenchenLB LauraBoenchenLB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't speak for the Rust part, but the rest looks good to me now! 🦭

@MarIniOnz MarIniOnz force-pushed the 253-add-advanced-example-dataset branch from e4bb073 to 630cfcd Compare December 18, 2024 11:46
Copy link
Member

@JabobKrauskopf JabobKrauskopf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, good job!

One structural request:
I don't think the advanced_example_dataset should be an extra module. Instead, combine it with the existing example_dataset module. The structure should look something like this:

example_dataset/
├─ synthetic_data/
│  ├─ simple_dataset/
│  │  └─ csv files and README
│  └─ advanced_dataset/
│     └─ csv files and README
└─ mod.rs

Imo we can also rename the current from_example_dataset to from_simple_example_dataset to make it consistent with the from_example_dataset

Copy link
Member

@JabobKrauskopf JabobKrauskopf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

almost there! Some minor requests, mainly related to testing

Copy link
Contributor

@LauraBoenchenLB LauraBoenchenLB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Found a few tiny improvements for the grammar of the description, otherwise very happy with the added dataset and code!

LauraBoenchenLB
LauraBoenchenLB previously approved these changes Jan 3, 2025
Copy link
Contributor

@LauraBoenchenLB LauraBoenchenLB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From my side (hopefully) last approval! :) 🦭

@MarIniOnz MarIniOnz force-pushed the 253-add-advanced-example-dataset branch 3 times, most recently from 2a5bb1a to e6f552d Compare January 7, 2025 09:54
@MarIniOnz MarIniOnz marked this pull request as draft January 14, 2025 10:46
@JabobKrauskopf JabobKrauskopf force-pushed the 253-add-advanced-example-dataset branch 2 times, most recently from 12340d5 to 3f69519 Compare January 16, 2025 21:28
@JabobKrauskopf JabobKrauskopf force-pushed the 253-add-advanced-example-dataset branch 4 times, most recently from df43d42 to b399016 Compare January 16, 2025 22:06
@JabobKrauskopf JabobKrauskopf marked this pull request as ready for review January 16, 2025 22:06
Copy link
Contributor

@LauraBoenchenLB LauraBoenchenLB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small change requests :)

@JabobKrauskopf JabobKrauskopf force-pushed the 253-add-advanced-example-dataset branch 4 times, most recently from 2fd5985 to 676f989 Compare January 20, 2025 14:00
@JabobKrauskopf JabobKrauskopf force-pushed the 253-add-advanced-example-dataset branch from 676f989 to 0382dc0 Compare January 20, 2025 14:07
Copy link
Contributor

@LauraBoenchenLB LauraBoenchenLB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excited for the big dataset! 🤩 Let's merge it!

@MarIniOnz
Copy link
Contributor Author

Excited for the big dataset! 🤩 Let's merge it!

Cannot approve my own PR, but approved!

@MarIniOnz MarIniOnz force-pushed the 253-add-advanced-example-dataset branch from 0382dc0 to b051f52 Compare January 20, 2025 15:18
@JabobKrauskopf JabobKrauskopf merged commit 246a942 into main Jan 20, 2025
6 checks passed
@JabobKrauskopf JabobKrauskopf deleted the 253-add-advanced-example-dataset branch January 20, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add advanced example dataset
3 participants