Markov Chains, Computer Science, Programming, Probability, Problem Solving.
{'counts:':self.chainList.count(state),'scores:':self.scores[states.index(state)]} return self.countsScores def transform_numeric(self): numericData = [] for i in range(len(self.chainList)): score = 0 for j in range(1, i + 1): score += self.scores[self.states.index(self.chainList[i])]