63 lines
927 B
Python
63 lines
927 B
Python
# -*- coding: utf-8 -*-
|
|
import matplotlib
|
|
matplotlib.use('Agg')
|
|
import time
|
|
import init
|
|
|
|
import corporization
|
|
import preprocessing
|
|
import topicModeling
|
|
import cleaning
|
|
|
|
from miscellaneous import *
|
|
|
|
# ssh madonna "nohup /usr/bin/python3 -u /home/jannis.grundmann/PycharmProjects/topicModelingTickets/main.py &> /home/jannis.grundmann/PycharmProjects/topicModelingTickets/printout_main.log &"
|
|
start = time.time()
|
|
|
|
|
|
|
|
#init.main()
|
|
logprint("")
|
|
|
|
corporization.main()
|
|
logprint("")
|
|
|
|
cleaning.main()
|
|
logprint("")
|
|
|
|
preprocessing.main() # ~5h
|
|
logprint("")
|
|
|
|
|
|
"""
|
|
topicModeling.main(use_raw=False,algorithm="lsa")
|
|
logprint("")
|
|
|
|
|
|
topicModeling.main(use_raw=False,algorithm="lda")
|
|
logprint("")
|
|
|
|
|
|
topicModeling.main(use_raw=False,algorithm="nmf")
|
|
logprint("")
|
|
|
|
|
|
topicModeling.main(use_raw=False,algorithm="llda")
|
|
logprint("")
|
|
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
logprint("")
|
|
|
|
end = time.time()
|
|
logprint("Total Time Elapsed: {0} min".format((end - start) / 60))
|
|
|
|
|