Coding Question

Follow the full discussion on Reddit.
I have a dataframe that contains formula 1 drivers, the season, the round, as well as variables for the probability that they finish in a specific position (Probability_predictions.1 through Probabilities_predictions.20). I'm trying get the probability of one driver finishing ahead of the other driver which would be done using this formula : P(A<B) = P(A=1)\*P(B>1) + P(A=2)*P(B>2) + P(A=3)*P(B>3) + ... + P(A=18)*P(B>18)+P(A=19)*P(B>19).


There's unfortunately not much to read here yet...

Discover the Best of Machine Learning.

Ever having issues keeping up with everything that's going on in Machine Learning? That's where we help. We're sending out a weekly digest, highlighting the Best of Machine Learning.

Join over 900 Machine Learning Engineers receiving our weekly digest.

Best of Machine LearningBest of Machine Learning

Discover the best guides, books, papers and news in Machine Learning, once per week.