Compare commits

...

4 Commits

Author SHA1 Message Date
Dominic Zimmer
9ac136ee01 Add readme 2024-05-02 15:47:41 +02:00
Dominic Zimmer
4d10148e49 Update scripts 2023-06-16 12:32:22 +02:00
Dominic Zimmer
6b99136661 Update ipynb 2023-06-16 12:31:43 +02:00
Dominic Zimmer
5a4bada9c5 Update makefile 2023-06-14 11:00:45 +02:00
7 changed files with 271 additions and 217 deletions

View File

@@ -45,6 +45,10 @@ while i < len(lines):
print("Parsing lines")
corpus = " ".join(truelines)
#with open("hp_parsed.txt", "w") as f:
# f.writelines(corpus)
tokens = corpus.split(" ")
words = set(tokens)
id_to_word = dict(enumerate(words))
@@ -55,8 +59,10 @@ from numpy import matrix as M, array
#m = M( [ [ 0 for _ in range(len(words)) ] for _ in range(len(words)) ] )
print("allocating array")
# ich zähle alle folgeworte i→j
m = array([0])
m.resize(N, N)
# die wahrscheinlichkeiten
M = array([0.0])
M.resize(N, N)

1
hp/hp_parsed.txt Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,7 @@
all:
all: The\ Art\ of\ Memory\ Loss.ipynb
jupyter nbconvert --to html "The Art of Memory Loss.ipynb" --config jupyter_nbconvert_config.py
sed -i '2 a <link rel="stylesheet" href="rise.css">' "The Art of Memory Loss.html"
upload: all
scp rise.css The\ Art\ of\ Memory\ Loss.html oreburgh:www/forschungstage

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

7
readme.MD Normal file
View File

@@ -0,0 +1,7 @@
# Forschungstage Workshop Gedächtnisverlust
## Initial Brainstroming
https://hedge.leafbla.de/s/vEfzNEX8y
## Discarded Slides Attempt
https://hedge.leafbla.de/rsqCLH79Ti6-bCRVPZkENw?both