Solved by nrsyed in post #2 
              
              
                actuals is a list, but you’re trying to index into it with two values (:, i). Python lists are not arrays and can’t be indexed into with a comma-separated list of indices. 
Replace actuals[:, i] with actuals[i] and probabilities[:, i] with probabilities[i].