-
-
Save aribornstein/a0212fff2a95f6bab13d5455d68d9830 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CustomDataSource(DataSource): | |
def load_data(self, ...) | |
# load_data code used during validation, test and predict | |
if self.validating or self.testing: | |
# load_data code used during validation or test | |
else: | |
# load_data code used during predict | |
def train_load_data(self, ...) | |
# load_data code used during training |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment