Royal Challengers Bangalore (RCB), who have often found themselves on the recieving end, finally got their hands on the coveted Indian Premier League silverware. This was made possible by a RCB fan and Reddit user Adish Jain, who ran a simulation script to find the IPL 2021 winner.
With the surge in Covid-19 cases in India and players from different franchises testing positive, BCCI had very little choice but to postpone the league indefinitely. But Jain couldn’t wait for the resumption of the league and decided to run a simulation program to find the winner.
The model factors taken into account to run the simulation on a ball-by-ball basis are different types of pitches, match-ups and recent form and record of teams and players.
“I made a Python program to simulate an entire season of the IPL (excluding the playoffs) using past data, predictive analysis, and randomization techniques. I mainly wanted to share this because there are some really interesting scenarios in the scorecards or some epic batting collapses, also I think RCB fans will like this one,” he wrote on Reddit.
“I extracted each player’s past five years’ data for batsmen and bowlers. What kind of runs a batsman scored – singles, doubles, fours or sixes – what kind of runs the bowlers leaked, against what bowling did a batsman thrive, when they scored their runs – powerplay, middle overs or death – what mode of dismissal bowlers dismissed batsmen the most with and vice-versa how batsmen got out. This includes detailed data such as frequency of wides or no balls or the average catches taken by a player in a game,” Jain was quoted as saying in a report on Wisden.com.
Here is how the league stage ended:
The Playoffs:
Qualifier 1 – DC v RCB (RCB won)
Eliminator – CSK v PBKS (PBKS won)
Qualifier 2 – PBKS v DC (DC won)
Final – DC v RCB (RCB won)
$(function() { return $("[data-sticky_column]").stick_in_parent({ parent: "[data-sticky_parent]" }); });
reset_scroll = function() { var scroller; scroller = $("body,html"); scroller.stop(true); if ($(window).scrollTop() !== 0) { scroller.animate({ scrollTop: 0 }, "fast"); } return scroller; };
window.scroll_it = function() { var max; max = $(document).height() - $(window).height(); return reset_scroll().animate({ scrollTop: max }, max * 3).delay(100).animate({ scrollTop: 0 }, max * 3); };
window.scroll_it_wobble = function() { var max, third; max = $(document).height() - $(window).height(); third = Math.floor(max / 3); return reset_scroll().animate({ scrollTop: third * 2 }, max * 3).delay(100).animate({ scrollTop: third }, max * 3).delay(100).animate({ scrollTop: max }, max * 3).delay(100).animate({ scrollTop: 0 }, max * 3); };
$(window).on("resize", (function(_this) { return function(e) { return $(document.body).trigger("sticky_kit:recalc"); }; })(this));
}).call(this);
googletag.pubads().setTargeting('category', ["article","Cricket","Royal Challengers Bangalore","IPL 2021"]); googletag.pubads().enableLazyLoad({ fetchMarginPercent: 50, renderMarginPercent: 50, mobileScaling: 2.0 }); googletag.pubads().disableInitialLoad(); googletag.pubads().enableAsyncRendering(); googletag.pubads().set('page_url','https://zeenews.india.com/'); googletag.pubads().collapseEmptyDivs(); googletag.enableServices(); }); googletag.cmd.push(function() { googletag.display('div-article-rhs-atf-ad'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504525832454-0'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504525832454-2'); }); googletag.cmd.push(function() { googletag.display('div-gpt-ad-1504526235866-6'); });
} on_load_google_ad(); function sendAdserverRequest() { try { if (pbjs && pbjs.adserverRequestSent) return; googletag.cmd.push(function() { googletag.pubads().refresh(); }); } catch (e) {
googletag.cmd.push(function() { googletag.pubads().refresh(); }); } } setTimeout(function() { sendAdserverRequest(); }, 5000);
function on_load_fb_twitter_widgets(){ (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));
window.twttr = (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], t = window.twttr || {}; if (d.getElementById(id)) return t; js = d.createElement(s); js.id = id; js.src = "https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); t._e = []; t.ready = function(f) {
t._e.push(f); }; return t; }(document, "script", "twitter-wjs")); }
//setTimeout(function() { on_load_google_ad(); }, 5000);
setTimeout(function() {
on_load_fb_twitter_widgets();
}, 5000);
Source link