Update README.md
Browse files
README.md
CHANGED
|
@@ -84,10 +84,10 @@ iqa_score = np.mean(scores)
|
|
| 84 |
# maps the predicted score from the model's range [min_pred, max_pred]
|
| 85 |
# to the actual range [min_score, max_score] using min-max scaling.
|
| 86 |
|
| 87 |
-
|
| 88 |
-
|
| 89 |
-
|
| 90 |
-
|
| 91 |
|
| 92 |
normalized_score = ((iqa_score - min_pred) / (max_pred - min_pred)) * (max_score - min_score) + min_score
|
| 93 |
print(f"Predicted quality Score: {normalized_score:.4f}")
|
|
|
|
| 84 |
# maps the predicted score from the model's range [min_pred, max_pred]
|
| 85 |
# to the actual range [min_score, max_score] using min-max scaling.
|
| 86 |
|
| 87 |
+
min_pred = -6.52
|
| 88 |
+
max_pred = 3.11
|
| 89 |
+
max_score = 4.32
|
| 90 |
+
min_score = 1
|
| 91 |
|
| 92 |
normalized_score = ((iqa_score - min_pred) / (max_pred - min_pred)) * (max_score - min_score) + min_score
|
| 93 |
print(f"Predicted quality Score: {normalized_score:.4f}")
|