codingcoolfun9ed commited on
Commit
884aadf
·
verified ·
1 Parent(s): cafcf40

optimal threshold slightly changed to fit new and improved models

Browse files
Files changed (1) hide show
  1. api/predict.py +1 -1
api/predict.py CHANGED
@@ -15,7 +15,7 @@ models = []
15
  tokenizers = []
16
  maxLengths = []
17
  modelWeights = [0.333, 0.333, 0.333]
18
- optimalThreshold = 0.45
19
  uncertaintyThreshold = 0.67
20
 
21
  CLASS_NAMES = ['genuine', 'fake']
 
15
  tokenizers = []
16
  maxLengths = []
17
  modelWeights = [0.333, 0.333, 0.333]
18
+ optimalThreshold = 0.40
19
  uncertaintyThreshold = 0.67
20
 
21
  CLASS_NAMES = ['genuine', 'fake']