def getAnomalyScores(activeColumnList, predictiveColumnList): # calculates the anomaly scores from the list of active and predicted columns at each step - deprecated anomalyScoreList = [] an = Anomaly() for i in range(len(activeColumnList)): score = an.computeRawAnomalyScore(activeColumnList[i], predictiveColumnList[i]) anomalyScoreList.append(score) return anomalyScoreList