final solution

This commit is contained in:
Łukasz Jędyk 2022-04-09 19:00:32 +02:00
parent f4c7c9497b
commit 6a8a2627b0
3 changed files with 17610 additions and 17610 deletions

File diff suppressed because it is too large Load Diff

4
run.py
View File

@ -28,8 +28,8 @@ class Model():
self.vocab.add(w3)
self.probs[(w1, w3)][w2] += 1
# limit number of data rows used for training
if index > 10000:
break
# if index > 10000:
# break
for w1_w3 in self.probs:
total_count = float(sum(self.probs[w1_w3].values()))

File diff suppressed because it is too large Load Diff