commit bb9a7a5fc4e66784095d6b8fefd891596691742f
parent 86cd47f4ccb07ef38164ed70d972364c802280df
Author: Sondre Wold <sondrewold1@gmail.com>
Date: Thu, 25 Sep 2025 09:54:59 +0200
Cleaning
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/get_epsilon.py b/get_epsilon.py
@@ -44,7 +44,7 @@ def get_epsilons(
if word_sims[i] != 0:
original.append(
float(1 - context_sims[i] / word_sims[i])
- ) # Equivalent to our formal relaxation)
+ ) # Equivalent to our formal relaxation
division.append(float(context_sims[i] / word_sims[i]))
additive.append(float(context_sims[i] - word_sims[i]))
diff --git a/statistical_testing.py b/statistical_testing.py
@@ -32,7 +32,7 @@ def parse_args() -> argparse.Namespace:
type=str,
choices=["original", "divisive", "additive"],
default="original",
- help="Use the score method based on the He et al paper",
+ help="Which type of epsilon calculation to use",
)
parser.add_argument(
"-class_type",