-
Notifications
You must be signed in to change notification settings - Fork 17
Keras models support #7
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
Keras models support #7
Conversation
tests/base.py
Outdated
self.setUp() | ||
train_input_fn(self.features, self.label) | ||
|
||
print('Calling BaseTest:testCommon') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we also test self.model.fit
and self.model.predict
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
||
def default_training_epochs(self): | ||
"""Default training epochs. Used in model.fit.""" | ||
return 2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2
might be too small. Change to 50
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested 2 is enough for iris demo case. Change to 50 maybe take too long to train
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Also removed python3.8 test because of this error: https://travis-ci.com/sql-machine-learning/models/jobs/202072631
Related work: sql-machine-learning/sqlflow#424