From 16e7952b7cc32ca21498fa3a12fb79f679ea8c21 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fran=C3=A7ois=20Fleuret?= Date: Sat, 21 Oct 2023 18:34:45 +0200 Subject: [PATCH] Update. --- problems.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/problems.py b/problems.py index 819715e..7aa59be 100755 --- a/problems.py +++ b/problems.py @@ -26,7 +26,7 @@ class Problem: class ProblemDegradation(Problem): - def __init__(self, nb_state_tokens=5, nb_time_steps=5, value_max=25, hard=False): + def __init__(self, nb_state_tokens=7, nb_time_steps=10, value_max=100, hard=False): self.nb_state_tokens = nb_state_tokens self.nb_time_steps = nb_time_steps self.value_max = value_max @@ -263,5 +263,6 @@ class ProblemAddition(Problem): if __name__ == "__main__": p = ProblemDegradation(hard=False) s, m = p.generate_sequences(10000) - print(p.seq2str(s[0])) + for x in s[:100]: + print(p.seq2str(x)) print(p.compute_nb_correct(None, None, s)) -- 2.39.5