-
-
Save amankharwal/e9c976a1f6e1696dde191f2ce780ee9f 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
testing_data = data2[["text"]].to_numpy() | |
testing_id = data2[['id']] | |
predictions = model.predict(testing_data) | |
predictions = list(map(int, predictions)) | |
final_output = pd.DataFrame({'id': testing_id.id, 'target': predictions}) | |
print(final_output) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment