Skip to content

Update generate_datasets.R #4

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Pat-Laub
Copy link

This is a very minor pull request related to the supplied "datasets" directory in the package and their generation.
Running "generate_datasets.R" currently crashes when the "complexity_1", ..., "complexity_5" directories are not already created in the current directory, so the first edit creates these directories if they don't already exist.
The final edit is to make export the covariate data into csv files alongside the other outputs.

I would rerun the code and then add the generated covariate data in this pull request, except the "generate_datasets.R" does not create consistent outputs between different computers.
I ran this script on Windows, Linux, and Mac (both x86 and arm), and sometimes the generated datasets are the same, but most of the time they are significantly different.
So if you agree with these changes, can I please ask that you also add the generated covariates data to the datasets/complexity_* folders in another commit?

Thanks very much! Patrick

Fix generate_datasets.R so that it doesn't crash when "complexity_1", ..., "complexity_5" directories are not already created in the current directory.
Also export the covariate information alongside the other outputs.
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.

1 participant