wip
This commit is contained in:
@@ -8,8 +8,9 @@ from math import ceil
|
|||||||
import matplotlib.pyplot as plt
|
import matplotlib.pyplot as plt
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from common import calc_intervals, imprt, printnoln, rprint, DAYS_NEW_USER, IMAGE_MAGICK
|
from common import calc_intervals, printnoln, rprint, DAYS_NEW_USER, IMAGE_MAGICK
|
||||||
from loader import load, dmt, cms
|
from loader import load, dmt, cms
|
||||||
|
from sentiments import readtoxleveltxt
|
||||||
|
|
||||||
OLD_USER_PERCENTILE = 0.95
|
OLD_USER_PERCENTILE = 0.95
|
||||||
|
|
||||||
@@ -23,7 +24,7 @@ def main(folder, intervl):
|
|||||||
|
|
||||||
start = cms()
|
start = cms()
|
||||||
printnoln("reading sentiments ...")
|
printnoln("reading sentiments ...")
|
||||||
cachedsentiments = imprt(folder + "/output/sentiments.py").answers
|
(_, cachedsentiments) = readtoxleveltxt(folder + "/output/sentiments.txt")
|
||||||
rprint("reading sentiments ... took " + str(cms() - start) + "ms")
|
rprint("reading sentiments ... took " + str(cms() - start) + "ms")
|
||||||
|
|
||||||
outputdir = folder + "/output/batch/"
|
outputdir = folder + "/output/batch/"
|
||||||
|
|||||||
Reference in New Issue
Block a user