This commit is contained in:
wea_ondara
2019-12-27 14:50:29 +01:00
parent 1027374281
commit 88de1e9c7b

View File

@@ -8,8 +8,9 @@ from math import ceil
import matplotlib.pyplot as plt
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 sentiments import readtoxleveltxt
OLD_USER_PERCENTILE = 0.95
@@ -23,7 +24,7 @@ def main(folder, intervl):
start = cms()
printnoln("reading sentiments ...")
cachedsentiments = imprt(folder + "/output/sentiments.py").answers
(_, cachedsentiments) = readtoxleveltxt(folder + "/output/sentiments.txt")
rprint("reading sentiments ... took " + str(cms() - start) + "ms")
outputdir = folder + "/output/batch/"