Inconsistent Result while using a fix random seed #11942
Unanswered
swageeth
asked this question in
Help: Coding & Implementations
Replies: 3 comments 7 replies
-
Two things:
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have been using Spacy - Text Categoriser to classify text messages. Python version 3.10
Below is the the training model and I get the Unknown category with the highest score for this specific message:
Result (which is correct as the Unknown as the highest score):
{'Commercial': 0.13948287736862833, 'Crypto': 0.015437351941468657, 'Extortion': 0.0860014895963152, 'Financial': 0.01987490991768424, 'Gambling': 0.029074990906618126, 'Gift': 0.06850244399154756, 'Investment': 0.012729882351053419, 'Invoice': 0.0718818617408037, 'Phishing': 0.046637490542787444, 'Romance': 0.05515818363916855, 'Unknown': 0.45521851800392493}
Importing test dataset:
The result in csv file for that same statement:
<style> </style>Why are they inconsistent even when my training model has 'spacy.util.fix_random_seed(0)'?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions