Created
August 4, 2020 11:00
-
-
Save DoctorLoop/41c31bf30339dc1b4b4c7e69a001b9bf 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
num_samples = 5000 | |
predicted = [] | |
for i in range(num_samples): | |
features = test_dataset.df.sample(n=3).drop('outcome',axis=1) | |
batch_predictions = predict(torch.tensor(features.values)) | |
predicted.append(batch_predictions) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment