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

Problem Definition: Object-Oriented Improvements for generate_cutoff_times(...) #32

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Hector-hedb12
Copy link
Contributor

No description provided.

@Hector-hedb12 Hector-hedb12 changed the title Problem Definition: Object-Oriented Improvements for ProblemDefinition.generate_cutoff_times(...) Problem Definition: Object-Oriented Improvements for generate_cutoff_times(...) Apr 22, 2019
@Hector-hedb12 Hector-hedb12 marked this pull request as ready for review May 13, 2019 13:31
@@ -62,6 +84,57 @@ def generate_cutoff_times(self, entity_set):
ValueError: An error occurs if the cutoff variable does not exist.
"""

target_label_exists = DataLoader().check_column_existence(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of creating a new DataLoader() object 3 times, can we create a data_loader variable and invoke its methods each time? Not entirely sure, but I believe this is safe because we include the parameters within the method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

definitely, I agree. Changes --> 609d4c0

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

3 participants