optimal threshold slightly changed to fit new and improved models
Browse files- 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.
|
| 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']
|