Nuzz23 commited on
Commit
086fdf8
·
1 Parent(s): 1fbf854

added the following files:

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -18,8 +18,8 @@ def dataProcessing(file, timestamp_column:str=None):
18
  try:
19
  validateData(file, timestamp_column)
20
  preProcessedData, timestamp_old, target_cols = preProcessData(file, timestamp_column)
21
- predictions = predictData(chronos2, preProcessedData, target_cols)
22
- scores = computeDiscreteScores(predictions, preProcessedData, target_cols)
23
  df = assembleResults(preProcessedData, timestamp_old, target_cols, scores)
24
 
25
  fig = plotResults(df, target_cols)
 
18
  try:
19
  validateData(file, timestamp_column)
20
  preProcessedData, timestamp_old, target_cols = preProcessData(file, timestamp_column)
21
+ predictions, indexes = predictData(chronos2, preProcessedData, target_cols)
22
+ scores = computeDiscreteScores(predictions, preProcessedData, target_cols, indexes=indexes)
23
  df = assembleResults(preProcessedData, timestamp_old, target_cols, scores)
24
 
25
  fig = plotResults(df, target_cols)