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

Test set #6

Open
Swati17293 opened this issue Sep 1, 2020 · 1 comment
Open

Test set #6

Swati17293 opened this issue Sep 1, 2020 · 1 comment

Comments

@Swati17293
Copy link

Swati17293 commented Sep 1, 2020

Whenever we try to use the saved model, the results will be different as each time the training data is randomly split. In addition, the arguments provided for the test and the dev set are not used. When we use train-test-split from sklearn, we can set "random state = 0" but since you use your own function for the same, you can suggest how to address the issue.
Thank you for sharing the code!!!!!!!

@AIRobotZhang
Copy link
Owner

Whenever we try to use the saved model, the results will be different as each time the training data is randomly split. In addition, the arguments provided for the test and the dev set are not used. When we use train-test-split from sklearn, we can set "random state = 0" but since you use your own function for the same, you can suggest how to address the issue.
Thank you for sharing the code!!!!!!!

Sorry for having confused you. I think splitting the all data into train and test data in advance can be an idea, then only using the dataset.train_dev_split function for the train data can be ok. Please feel free to let me know if you have any other questions.

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

No branches or pull requests

2 participants