diff --git a/src/jit_bayes b/src/jit_bayes index f402e3c..b71bb93 100755 Binary files a/src/jit_bayes and b/src/jit_bayes differ diff --git a/src/jit_bayes.nim b/src/jit_bayes.nim index 991a693..d14ff38 100644 --- a/src/jit_bayes.nim +++ b/src/jit_bayes.nim @@ -138,12 +138,12 @@ proc jitBayesLoop( let correct_continuation_index = findIndex(considered_continuations, correct_continuation) if correct_continuation_index == -1: - echo "Correct continuation not found in set of hypotheses of size ", num_hypotheses, "/", seqs.len, ". Increasing size of the set of hypotheses." var found_concordant_hypothesis = false var concordant_hypotheses: seq[seq[string]] while (not found_concordant_hypothesis) and ( num_hypotheses < seqs.len ): + echo "Correct continuation not found in set of hypotheses of size ", num_hypotheses, "/", seqs.len, ". Increasing size of the set of hypotheses." num_hypotheses = num_hypotheses + num_hypotheses_step if num_hypotheses > seqs.len: num_hypotheses = seqs.len @@ -168,7 +168,7 @@ proc jitBayesLoop( echo "" ## var observations = @["1", "2", "3", "4", "5", "6"] -var observations = @["1", "2", "3", "109", "5", "6"] +var observations = @["1", "2", "3", "23"] echo "## Full prediction with access to all hypotheses (~Solomonoff)" echo "## Initial sequence: ", observations let continuation_probabilities = predictContinuation(seqs, observations)