Tuesday, May 10, 2016

Visualising Kobe Bryant's Scintillating Career - Well, almost!

Kobe Bean Bryant, one of the most accomplished & decorated NBA stars, ended his 20 seasons spanning career this year and went out on a high scoring a startling '60 or above' (10 more than his good ol' mate Shaq asked him) in his last professional outing in Los Angeles Lakers' clothes.

His speed & accuracy over the course of his career synonymous of those of a brand of snake earned him the nickname Black Mamba.

I tried to dissect his career in terms of shots made & missed looking for patterns based on the dataset Kaggle made public which has all information on ~84% of shots made in his entire career . There are no huge revelations or weaknesses, indicating the sort of legend he is, but some of the highlights worth mentioning are summarised below:

1. Dunks are rarely missed & Kobe favours one side of the board to the other

The visual below shows the layout of the court and the dots indicate the position from which he has attempted his shots. The image on the left has all shots he scored off & the one on the right comprises of shots he missed.

  • A huge % of shots he has attempted have been Jump shots, which is a no-brainer. Looking beyond those jump shots (greyed out above), one can notice that the spread of shots is higher to the reader's left of the board in 'Shots Hit' visual and the spread in 'Shots Missed' visual is predominantly to the right. Possibly a little weakness that teams playing Lakers wouldn't have cared to miss?!
  • He rarely misses a dunk (marked in 'Brown') - There are literally no brown dots at all in the Shots Missed visual.
  • When he attempts a Bank shot, it is expected to go in at a higher rate (notice the many red dots in 'Hit' & a fewer % of them in 'Missed')
2.  Layups & turnaround shots may look great for a fan but they are costly for the players

Success rate of his shots (% shots scored out of all attempted) by shot type seems to go in hand with the observations above:
Slam & Driving dunks are at close to 100% success rate; Some of the risky ones like the Layup & a few Turnaround shots understandably have ~50% success rate.

3.  Very very small zones Kobe isn't comfortable shooting from

After spending some time on shot types, shot distances & shot positions, only one visual had anything to offer in terms of a possible highlight - The one corresponding to distance from which Kobe has attempted the shot.
The areas marked in circles above seem to be points from which no shot has gone in & these are not areas where he has not attempted shots from (these gaps are not seemingly large in the missed visual).  I am no seasoned basketball fan to find a reason to that but probably those are strong defence areas that anyone finds difficult to score from. If not, voila! I just noticed a little Achilles heel in Mamba's illustrious career.

4. Clutch is the word for Kobe

If scoring 60 on his 'announced' retirement game was not enough proof of his ability to clutch on to his nerves in moments that matter, the consistency of success rate he shows across seconds remaining (in the quarter I presumed as it had 0 to 60 as against 0 to 24 if it had been seconds remaining for a shot) & minutes remaining (12 minute sessions are what NBA's stipulated quarters are made of).

The deviations are pretty low if you look at Seconds remaining for Quarter end (understandably reducing hugely for 1 second but it's pretty good at even 2-5!!)
 There is a dubious low seen at '8 minutes' remaining which can't be ignored as an anomaly for the sheer number of data points available (~26,000 shots attempted). I couldn't find what could have caused that. Any possible reasons for that dip?!
5. Nobody can defy age, not even Kobe

Here is a look at his success rate by seasons & by months within seasons.
He has been consistently successful picking up a little after 2 seasons from debut and staying there for 4 seasons to follow. A seeming little dip later, he has made the comeback like legends always try to and has faded gradually in the last leg (indicated by the dipping tail towards the end)

More fascinating was how he starts off seasons (with the success rates gradually climbing across the first 4-5 months - Oct to Feb before gradually settling down). His success rates in the PlayOffs months is a little fascinating. It peaks in May & drops to the lowest in June. Is that indicative of the quality of opponents in the last leg of playoffs - the final? Possibly. My restricted NBA knowledge can get me only so far.

This was all I could muster in my quest for predicting Hit or Miss for the remaining 5000 shots Kaggle's competition dataset had. All through this work, the thought that kept knocking my brain cells was - How nice would it be to make a tribute to some legend in a sport I am a lot more closer with - Tennis! Where my analysis will be a lot more sound given the subject matter expertise, if I could call it that :) There is hope in the form of tennisabstract.com's dataset. As long as there is hope, all is well.

Sunday, February 28, 2016

Oscars 2016 Predictions: Guesses & Wishes

With the Academy Awards Ceremony around the corner, I guess it's time to come up with some predictions, root for some movies, actors, technicians - end up being happy for some, being sad for some and all that but what goes on paper before, stays on it. So,.....

Here are my predictions (and wishes) for some prominent categories.

Best Editing:
Nominees: Mad Max Fury Road, The Big Short, The Revenant, Star Wars: The Force Awakens, Spotlight

My Guess & My Wish: Mad Max is the overwhelming favourite in this race, beating some other films with its unconventional and flashy edits but I somehow have this feeling that Hank Corwin edited The Big Short is going to surprise itself and others for its scintillating work in maintaining the cohesion amidts the chaos surrounding the 4 parallel tracks

Best Cinematography:
Nominees: The Hateful Eight, The Revenant, Carol, Sicario, Mad Max Fury Road

My Guess & My Wish: Even though the efforts of the other nominees are there to be clearly seen in the films they have worked on and have been nominated for, nothing comes as clear and as close to doing the unthinkable as Emmanuel Lubezki's work with his variety in The Revenant. The camera travels with Hugh Glass in many of his ridiculous escapes, stays with the characters in the Bear fight & climax duels, shoots up the heroism with natural lighting when the troops get to see Glass to their utter surprise and evokes nostalgic memories of the 60s spaghetti westerns in its long range wide shots (which the work in The Hateful Eight also manages to do)

Best Supporting Actress:
Nominees: Alicia Vikander (The Danish Girl), Rooney Mara (Carol), Rachel McAdams (Spotlight), Jennifer Jason Leigh (The Hateful Eight), Kate Winslet (Steve Jobs)

My Guess: I am bemused at Alicia Vikander being in receipt of a 'supporting actress' nomination given the significance of her role in the film but that's going to tip the balance in her favour as she goes past Kate Winslet's meticulous portrayal of Joanna Hoffman in Steve Jobs. McAdams and JJL didn't have the sort of impact in their roles to get to the winner's circle but the same cannot be said of Rooney Mara.

My Wish: I fervently wish and hope that the Jury gets bowled over by Rooney Mara's representation of the meek, passionate and confused Therese Belivet in Carol and give her the award.

Best Supporting Actor:
Nominees: Mark Ruffalo (Spotlight), Sylvester Stallone (Creed), Tom Hardy (The Revenant), Mark Rylance (Bridge of Spies), Christian Bale (The Big Short)

My Guess & My Wish: I am a big Rocky fan and I know I would be delighted to see the Italian Stallion get decorated with an Oscar; I liked the seasoned performance of Mark Rylance as the spy in Bridge of Spies & the devotion and confidence that Bale shows on his skills in The Big Short; I thought Tom Hardy was a revelation in The Revenant with his villainy and scary idealogies BUT the mind stays with my heart on this one in predicting that the ambitious 'go-getter' in Mike Rezendes of Spotlight is going to help Mark Ruffalo go get his much deserved Oscar in his third such attempt at Oscar glory.

Best Screenplay (Original):
Nominees: Bridge of Spies, Spotlight, Ex Machina, Inside Out, Straight Outta Compton

My Guess & My Wish: To be fair, I haven't seen 3 out of the 5 films nominated here. So, all I can guess is to just go by instincts and I just feel it would be a mighty task for any of these films to have something on them to power over the magic that the simplicity in Spotlight's screenplay commands. Coens' work in Bridge of Spies was simple and charming but Spotlight beats it by a considerable margin

Best Screenplay (Adapted):
Nominees: The Martian, The Big Short, Room, Carol, Brooklyn

My Guess & My Wish: It is very difficult to recreate the magic that a great page-turning book offers but if McKay and Randolph are getting praised for doing just that in The Big Short, I can see why! The film is totally devoted to its unconventional 'Scorsese-Thelma'ish treatment of a technical subject and it works incredibly well! Who wouldn’t like Selena Gomez explain synthetic Collaterized Debt Obligations from a casino table or Margot Robbie in a bathtub explaining sub-prime mortgages comparing it with shit?!

Best Actor:
Nominees: Eddie Redmayne (The Danish Girl), Michael Fassbender (Steve Jobs), Bryan Cranston (Trumbo), Matt Damon (The Martian), Leonardo DiCaprio (The Revenant)

My Guess & My Wish: By virtue of the nominations, it could be a three way battle with Redmayne's bid to defend his Award from last year in a role tailor-made for Oscar glory and the nonchalance associated with the Breaking Bad star Bryan Cranston for his role in Trumbo but the weight of his previous nominations, his winning spree this year and his display of LITERALLY 'getting-into-the-skin', I am quite bullish on the prospects of the man who fought with the Bear. The Oscar is going to decorate Leonardo DiCaprio's accomplishments come Sunday, with Roger Federer cheering him on from the gallery. Well, that's going to be 'some moment' and hopefully, it happens!

Best Actress:
Nominees: Brie Larson (Room), Charlotte Rampling (45 Years), Cate Blanchett (Carol), Saoirse Ronan (Brooklyn), Jennifer Lawrence (Joy)

My Guess: I join the bandwagon in calling Brie Larson the overwhelming favourite to win this one, just like Patricia was last year for her Boyhood role. Being cast as a mother has its benefits, I see! Cate didn't do anything exceedingly special to warrant an additional Oscar and Saoirse has years and talent to take her to the finish line in the years to come but Jennifer Lawrence can spring a surprise if the Jury saw what I saw with her show in Joy

My Wish: Jennifer Lawrence getting it just for expressing herself so convincingly that I came out of the perception of JLaw's suave image and mediocre talent and instead, started seeing the struggles of Joy, empathises and rooted for her success in her business and enjoyed every bit of her swag at the end.

Best Director:
Nominees: George Miller (Mad Max: Fury Road), Adam McKay (The Big Short), Lenny Abrahamson (Room), Alejandro Gonzalez Inarritu (The Revenant), Tom McCarthy (Spotlight)

My Guess & My Wish: McKay, McCarthy and Abrahamson have been impressive coming to the limelight displaying immense promise and potential but Miller and Inarritu have still not given them an easy path to glory ruling their chances out with their own glorious outings. As a Steven Spielberg fan, I sincerely admonish his snubbing in this category but I don't see anything that can stop the genius and vision that Alejandro Gonzalez Inarritu has translated to a vivid viewing experience handling his troop mighty well in the tumultous experience of shooting in the wilderness in The Revenant.

Best Picture:
Nominees: The Revenant, The Big Short, Bridge of Spies, Spotlight, The Martian, Brooklyn, Room, Mad Max: Fury Road

My Guess: After guessing The Best Actor, Best Cinematography, Best Director for the same film and knowing how the patterns work, it is tough to not guess that the same film would win the Best Picture award as well but that's exactly what I am going to do in placing this risky bet. With due respect to all the nominees, I feel it is going to be a two-way shootout between Spotlight that charms with its magic & simplicity and The Revenant that manifests magnificence with its painstaking brilliance; Only this time, the charm might go on to outwit the grandeur!

Spotlight is going to be in the spotlight as the curtains are drawn on the Academy Awards ceremony, for an 88th time!

Predictions for some of the other categories:
Best Animated Film - Inside Out
Best Costume Design - Mad Max: Fury Road
Best Foreign Film - Son of Saul
Best Make up & Hair Styling - Mad Max: Fury Road
Best Music - Ennio Morricone, for The Hateful Eight
Best Production Design - Mad Max: Fury Road
Best Sound Editing - The Revenant
Best Sound Mixing - The Revenant
Best Visual Effects - Star Wars: The Force Awakens

Who are you placing your bets on?

Wednesday, February 10, 2016

Visaaranai - Takes one Hope away, Gives one too!

After my Visaaranai show last evening, as I walked through a quiet stairway in the mall, I was suspicious and got wary of a loner walking behind me and had him in the corner of my eye. I had the same feeling when I was in the elevator, again, with only one other person giving company. Though these lasted just for seconds, that was the sort of impact the film had on me. The assumption that other humans can be trusted for no reason seemed to have been tested!


There are films like Forrest Gump, The Shawshank Redemption & the recent The Revenant which offer hope to mankind reminding us of the greatness humans can soar to and there are films like Visaaranai, which provide us with a stark reminder on the other extreme humans can hit to save themselves.

Vetrimaaran has taken his time to come up with this tale and one can see why he needed that if one were to observe the efforts gone into its making right from the tiny details like the indistinct yet relevantly written mumblings from the wireless police devices to the water-tight screenplay that keeps us glued to the proceedings. It would be a sin if I were to not mention the little symbolic touches that make tremendous impact on us as he takes us through this cinematic experience. To mention a few:

  • The choice of Ayudha Pooja for the setup didn't seem random to me. That's one festival with which you can bring the motif 'Cleaning' into the picture. The repeated emphasis on 'cleaning' the Police Station is a clear dig at the corruption that has rendered the office impure. A special kudos for the twice-repeated "AC Ayya irukarapo Clean  panna varaadha thambi" which sends the message on the percolation of corruption and its degree even at the north side of the system's hierarchy
  • Murugan, as he gleefully observes Tamil Police being benevolent in contrast to their counterparts from Andhra Pradesh, is shown to add waste to the dustbin without noticing it is piled up with garbage to its brim. His ignorance of the piled up garbage outside is his ignorance of the corrupt nature of the men inside
  • The callousness of the officers and the significance (or the lack of it) offered to the value of the lives of our heroes is brought forth in three simple, yet shuddering sequences. 
Scene 1: Happens in the verandah of the R.K. Puram Police Station. The head officer clad in lungi readies himself for his ploy of making our heroes 'accept' to having done the crime they weren't actually part of. As he begins his dressing down session, he shows resent over the quality of the Palm-husk readied by his sub-ordinates for the beating even as our heroes squeal in extreme pain and suffering
Scene 2: Happens in the first floor of the police complex as AC, DC orchestrate (sorry about the intended pun) the plan to seal off an internal gaffe. The DC is shown to cooly apply drops to his eyes not once, but twice as they discuss limiting the duration of the lives of the insignificant few in the building
Scene 3: Happens in the nondescript house when a police officer (known for clearing up goof-ups) calmly offers consolation while he puts the handcuffs on the insignificant ones as they shiver in shock  seeing one of their own slowly lose his life's battle against the bullet
  • A hint of the final scene is given much earlier,  through the last words of wisdom the captured auditor offers to the Officer in-charge of his arrest: "Naalaiku vera yaarayo vechu unna mudipaanga; 'This' game ends there". The presage is not so much about the imminent death of the officer as it is about the one who does it. 'Vera yaarayo' & 'This' are key here. Not many of us would have expected I-2's Chandran to be that Yevano Oruvan when he is introduced in the film. That's the scary point. When you are a victim of the evils of the system, you are bound to be silenced by someone who you may not even have met. The film could have easily continued with Chandran being silenced by someone else. He becomes the victim the moment he kills the officer. That's another game, for another day!
  • I'm not sure if I was reading too much into it but I felt the winding single-shot in the decisive scene where the DC meets our insignificant heroes of the tale was deliberate. The shot begins as the camera panes and travels behind the DC into the washroom & takes a U-turn as it comes out following our heroes who are led downstairs. That's the moment when their lives take the 'U-turn' and it's only downhill for them from there!

Going beyond these little magical touches, the film presents a pressing case of how men who don't have the ultimate power are all mere players in the game designed by the opportune few at the top. Our heroes fall prey to Police officers from Guntur and Chennai, who have no go other than to devise their wily ways of torturing the hopeless lot to escape from ones who instruct them to meet their monthly numbers, who have their own wily ways of minting money from the power centres to compensate for the loss of their conscience when put into such irrecoverable wormholes of situations.

This one focused on the Police system, on how the men who can influence the system rig it to suit their needs with no concern for anything outside of their needs. But this can be extended to any system that man has created; any system he can bend to suit his desires. It could be you, it could be me at the receiving end of it. Think of it - We all already are, in a few cases.

Visaaranai takes away hope - The hope that your life is always in your control;

Visaaranai gives hope - The hope that there still are film-makers who can genuinely make you think a lot about films & how you actually are part of the stories some of them make.

Monday, February 8, 2016

Taxi Fare Comparison (Ola, Uber & Taxi For Sure) for Bangalore & Chennai

Take dynamic & differential pricing out of the system and urban life becomes a lot more peaceful to handle. No longer do we choose the closest cinema hall for movie-watching. We get to compare prices across halls, across show-times & to add to the complexity, across payment modes - one guy offering a cashback of 15% against another giving a flat Rs.50/- discount - Now, one of these is to be translated to a common unit to arrive at a decision. Coming to think of it, all this is too much effort for arriving at a 'decision' to spend on having some leisurely time away from work!

The same holds good across domains with the spread of mobile apps, new revenue models & pricing concepts (bordering unethical!). This post intends to offer help towards your decision on one such curious case - that of deciding on 'Which taxi service to book depending on the expected traffic, the distance to cover & the type of the vehicle needed'.

The visualisation below is based on the current pricing model adopted by Ola, Uber & Taxi For Sure in Bangalore and Chennai. It will be updated frequently to reflect any tweaks these service providers are going to come up with in the near future. I had initially created this on an Excel file to help myself. But where is the fun if something as handy as this isn't shared? Here it is for public use. Go ahead and share it with friends who use these services extensively.

  • The filters are self-explanatory allowing you to choose the options that suit your need. (Select only one item in each filter for it to make sense; You can't be in Bangalore and Chennai at the same time, right?)
  • You also have the option of choosing the Multiplier value ('X' factor of these service providers to confuse the rider) for each service before comparison. They are set to '1' by default.
  • Take your mouse over the dots corresponding to the distance you expect to travel, the visual will show the price for each service for the city, traffic type, cab type & multipliers chosen



If the visualisation widget doesn't get rendered properly on Mobile phone, you could look at it here:

Fares as on: 10th Feb, 2016 (Revised rates for Uber in Chennai have been taken into account)

ATP Top 50 Career Win % vs Age

Inspired by this viz piece by Jessica Minton on the Age vs Success Ratio of Quarterbacks in Superbowl, I set out on a similar visualization to see how things looked for the ATP Top 50, thanks to easy data availability via the stats page of tennisabstract.com.

Here is the viz:


If you can't access the whole visual, check it out here

You can hover over each dot on the plot to find more details on each player represented by the dot.

Interesting Observations from the Viz:

  • Average Age of ATP Top 50 is 28.1
  • Average Success % of ATP Top 50 is 62.2%
  • Tennis is a tough sport. Only 4 players have a success rate of >75%, the Big Four. In other words means, only 4 of them are expected to win at least 3 out of any 4 matches played in succession
  • There are JUST 7 active Grand Slam Champions (including del Potro who isn't in top 50 today), 4 other slam finalists & 5 other Masters finalists which talks of the mind-boggling domination of the select few in the upper echelon of men's tennis
  • At the same time, tennis gives its opportunities. The last few in top 50 have a win rate of just above 50%. In other words, you win one, you lose one and if you do this consistently you are going to be hovering around the top 50 in the world. Another indication of how tough and brutal the knock-out format tennis follows is!
  • At the age of 34, Roger Federer maintains such a high level winning % of 82% (which is on par with what Novak and Rafa have currently, before even their expected decline)
  • The man with the lowest win % in top 50 is Guillermo Garcia Lopez (52% success rate)
  • The youngest in the top 50, Borna Coric enjoys an above average success rate of 64% which is expected to go higher as he continues to make progress
Hope you like this.


Thursday, January 28, 2016

Breaking barriers & scaling peaks - The Novak Djokovic way of Life

The most pertinent question running in the minds of followers of Tennis might well be this:
"Has Djokovic reached his peak or is there a level he is yet to reach & aspires to?"

Though the Pros in ATP circuit would like to believe they can contribute to a part of the answer, it looks like they really don't. Djokovic showed that today in the first 40 minutes in his dismantling of Roger Federer to the utter....let's call it blankness, for want of a better word.... of almost any tennis fan and that of the man on the other side of the net. I have never seen Federer being man-handled like this EVER in the time I have seen him play. I tell this after enduring so many heart-breaking losses that Federer suffered against Rafael Nadal. Against Nadal, the case has always been strategic 'noose-tightening' & slow death. Nadal would send forehand after forehand to the Federer backhand getting it to slowly cause damage to the Federer psyche making him commit errors from his forehand side as well as he attempts to neutralise by changing the patterns of play.

Today, it didn't seem so. It was a blow; a sucker-punch. Almost a knock-out! Federer was not 'allowed' to even get into the match as Djokovic took the first two sets 6-1 6-2. Federer didn't start off well with his first serves. Using that is one thing but what Novak did was much bigger than just using Federer's second serves. He was hitting clean and deep never giving Federer a single chance to come in to the net with an approach. There were no short balls on offer. The serves came back with hell of a lot of interest to paint the baseline leaving Federer utterly clueless. While Federer tried to hang in there on the baseline rallies with some good hitting which gets lost in the scoreline, the angles and power on some of Novak's forehands that came back as winners were baffling and induced multiple collective gasps from the crowd. One might agree or one might not. But what I saw today in those two sets was some hitting I have never seen before. It was as if Novak wanted to make a statement not just to Federer, not just to the crowd which he never gets to own thanks to their allegiance to Fed and Rafa, not just to the other semi-finalists but to his own self - to the self that he has carefully carved over years of toil, over years of dieting, over years of unwavering determination; To the self that kept on hanging as No.3 behind Fed and Rafa for 3.5 years before finally entering the circle. He, who once was known for his silly antics, for the nosy father of his, for fitness issues, has come a full circle with a positive H2H against Rafa (24-23) & Federer (23-22). When the entire fraternity gets ready to acknowledge the greatness of Djokovic (which will eventually happen after he wins a bunch of slams in the near future), his upper hand in these two rivalries need special space in the acknowledgment just for the fact that only with the most recent matches against them has he ever gone on to have a lead in both the H2H series. Precisely, for 10 long years, he has been chasing them before finally nosing ahead. All that after close to 4.5 years of utter domination in the 10 year period. That talks of something more than just domination. It talks of realisation of potential, of belief in abilities.

Djokovic seems to agree.
"In the end of the day it’s important that your convictions are stronger than your doubts", he told Jim Courier when asked on the fascinating H2H chase journeys.

Being able to stay consistently at the top of the game despite literally owning the field is as special as any quality a sportsman can possess! The reversal of H2Hs has just been the by-product of that.

As for Federer, I would have liked to see him more at the net. It is high time he realises the only space on the court that is going to be of any help for him against Novak is right there. He could fail like he did in the game he got broken in Set 4 but that was the right play. Ill-luck in the form of net cord and an unreal passing shot from Novak were what contributed to the break and not the idea of coming to the net. Having said that, not a lot of times does Federer get the credit he deserves for bringing the fight to the court in testing times. Not for nothing does the stat that he has never lost a Grand Slam match without creating break points stand true. For a moment, it looked like today might be that day; that today might be the day he would succumb to the loss by a scoreline worse than his worst outing in a hardcourt slam match which was eons back in 2001, when I was trying to figure out Integral Calculus (not that I have done it now!). But he wasn't ready to give up. In the midst of getting back to the groove with his service games holding (after being taken to 30-30 or deuce in almost every game) in set 3, he just had to come up with magic to create breaking opportunities which he did with an unbelievable run to the net to convert a Novak dropper into a winner. He held a further two times in the set against all odds to add respectability to the scoreline and more credence to his fighting quality. The fourth was a closely fought affair (with Federer squandering three second serves in the very first Novak service game) and just before Novak closed the affair 6-2 6-1 3-6 6-3 with 6 straight points came the point that explains why Federer is Federer & why he needs to keep playing the next week, the next season and the next decade to come.

Novak comes to the final as the most firm favourite for betters since, probably, Federer played Gonzalez in the 2007 Australian Open final. The other semi-final is expected to be a fine battle between one of the game's best returners in Andy Murray and one of its fine servers in Milos Raonic. Even as I feel Andy deserves a trophy in Australia (where he has reached 4 finals), I would like for it to happen later. I would like to see Raonic play Novak not because he can pose the No.1 any trouble but for the reason that the presence of a 25 year old in the final of a Grand Slam might augur well for the future as other 25 year olds can get the urge, the hope and aspire to reach there. Novak Djokovic seems to be in the mood to stay atop for the seasons to follow. You just can't let a 34 year old try and battle him all alone. Buck up, fellas. Climb fast. Go on and give Djokovic a poke at his back. He has set up his camp up there somewhere, go shake the tent.

Monday, August 17, 2015

Extension to the Cluster Analysis done earlier

As an extension of the Cluster Analysis piece, I had tried to pitch the various serve and return statistics for each of these clusters to see how the combination works.


The ideal state for players to be across all the scatters is the top right corner as all variables considered are %s that are good-to-have-it-high. Unsurprisingly, the group that the big 3 of Roger, Rafa and Novak belong dominate this position in 2 of the 4 scatters (brown dots). The other interesting thing to note is the Pink group being in the centre of almost all the scatters and seem to be breathing under the neck of the brown dots. No wonder it is the cluster to which multiple few time GS champs like Murray, Stan, Cilic, Hewitt belong!

In the battle of the On & Off ones (involving Grigor, Haas etc.) against the consistent journeymen (comprising the likes of Seppi, Chardy etc.) the presence of Red UNDER Green easily explains who wins the battle of the return games. While the Reds are better in terms of Serving stats (the fact that their dots are mostly to the RIGHT side of Green ones), they would be better off getting better return stats.

The next thing I had done was to just select the best group (Brown) and dissect the same stats by players under this group. This is what it resulted in:

Again, the ideal state is the top right corner and the worst place to be is at the bottom left. No wonder, Verdasco, a clear outlier in this group fits to the bottom left in all 4 plots.

Novak, Roger and Rafa place themselves closer to the ideal section of the plot in at least 3 of the 4 plots. If you compare by the Return Stats (visualise drawing a horizontal line to include only the dots at the top), the guys owning up the best numbers are Rafa, Novak with the surprising presence of David Ferrer and Davydenko above Roger in all these categories! So, you now know where Roger's hiccup lied in. 

Similarly for Rafa, the presence of many names to the right of him in the first serves won % shows where his primary problems lie. Juan staying at Bottom-middle or Bottom-right indicates he has miles to go with his return game before he can actually add some legend tag against him. The positive news is, he has made his presence felt in the cluster. The bad news is, he is still recuperating and one knows not if he would be the same old Juan when he gets back on court!


Saturday, August 15, 2015

Review #502: Vaalu (2015)

Vaalu Movie Review

Plot: It is love at first sight for a jobless guy who is called Sharp by friends and family when he sees a college girl in a bus. He also helps her in an accident and tries to befriend her to win her love later. The girl reciprocates his friendship after knowing he was her accidental-helper but informs him she is arranged to be married to her cousin in 2 years. Sharp decides to woo her in 10 days and the spice on offer comes in the form of a rivalry he has with a linchpin of the girl’s cousin in question.

What Works?

  • The bonhomie that the core members of the team led by Director Vijay Chander have shared shows up in their intention to bring out an entertainer that aims to provide mindless fun. The delay in production doesn’t show up much in terms of lack of continuity thanks to that.
  • STR (that’s how Simbu calls himself now) displays the energy that has earned him the small yet intense fan base and he has provided enough to keep that lot happy performing comedy, action & mouthing punchlines with the ease he has branded himself with
  • The supporting cast has played its role in keeping us from getting restless – Be it the comedy that Santhanam, VTV Ganesh provide from time to time or the charming little family of the hero. The director can be lauded for the manner in which he has depicted the father & the villain – There ‘could’ be fathers and villains like that
  • The songs, which don’t hold us by themselves in Thaman’s Music, have been put to some painstaking choreography that complements the overall intention of the film. In Suresh’s editing, there are no scenes that cross the tolerance threshold (even if some of the Train/track transitions could have been avoided). Shakti’s camerawork captures the crowd & colours well in the stunts and songs
What Doesn't?

  • There is no core story whatsoever and even the love that the hero seems to shower upon the heroine doesn’t look real thanks to his schemes. He looks like someone who tries to woo the girl to win a bet than to wed her & the Day-1 to Day-10 presentation adds to that effect
  • The little emotions which could have been exploited with some characters go waste and aren’t handled with conviction. In a film that doesn’t seem to take itself seriously, serious dialogues about family and love seem very odd
  • There is too much of meta Mass-hero worship (which succeeds in bringing noise in the house) but all that makes this look less like a film and more like a prime time show on TV
In a Nutshell:
Vaalu doesn’t have much to complain about because it doesn’t have much to write home about. The intentions seem to be to provide mindless fun but in the process, it lacks any story to be told and ends up being a film not to be bothered about – much like the vestigial tail some reptiles have.

Vestigial Tail, Wags a bit!

Friday, August 14, 2015

Cluster Analysis on a selection of ATP Players

I have always felt, with the goldmine of data that Jeff Sackmann of tennisabstract.com provides, a lot of interesting studies and analyses can be made. I chose to devote some time to one such analysis to see if I could cluster players based on their statistics. To my pleasant surprise, some expected members came out to belong to the same cluster. Say, if Ivo Karlovic was not going to be with John Isner in one cluster, I would assume the analysis to have had some gross miscalculations/assumptions.

But that's not just about it. Playing styles is one thing, but player statistics could be quite different. For example, a player like Roger with his mighty serve could still have a 'winning %s in Serves' number similar to a relatively seemingly weak server like Rafa, thanks to the dynamics that shots in rallies after the serve play. The core of my analysis took these into account and for that reason, I never chose individual variables relatable to style of play like No.of Aces, Aces/Match etc. I chose percentages that matter the most in the sport.

Some details on the model.

Match data includes data:
  • All ATP matches data from 2005 to Mid 2015 
  • For Players who have been Active in 2014 or 2015 (played at least one match in the last 1.5 years) 
  • Players who have served more than 1500 Aces since 2005 (this was used to retain the more popular names); So don't expect to see where and alongside who would, arguably the most popular player from the week, Nick Kyrgios, fit in. 
Variables used in the model:
Serve Stats
First Serves In %
First Serves Points Won %
Second Serves Points Won %
Break Points Saved %
Return Stats
First Serves Return Points Won %
Second Serves Return Points Won %

Algorithm: k-means Clustering. It involves taking values of these variables for all players and grouping players such that the euclidean distance between players for all variables in one group is minimal with minimum errors between and across the cluster groups. After some random trials, a size of k=5 looked to provide a decent 'accuracy-making sense' tradeoff.

Getting this data in order from the source involved a bit of a circus as the base data set doesn't have details by player but by match. i.e., it would show all these stats for match loser and match winner in one row for each match. Putting that circus together actually helped. The point gets mentioned here to emphasise the fact that data exploration is and should always be part of any analysis effort and that makes you get familiar with the data set.

Now to the results. This was how the players had got clustered into their respective groups:

The mean of the different variables under consideration in these groups looked like:











Cluster 4 was the litmus test result that validates the analysis from tennis-fan terms. All the big servers in the game end up landing here. At enviable 1st Serves Won % (78% mean!), these are the towering crusher-serve senders. They obviously end up having poor numbers for 1st and 2nd serve Return Pts won% (25% and 44%)

Cluster 2 is the one that carries 3 off the big 4 and of course, the talented delPo doesn't get left behind and joins it promptly. These guys are the clinical ones, setting benchmark in 4 off 5 categories and staying only behind by a whisker in the First Serves in department. Happy to see another of my personal favourites Nikolay Davydenko in there - Hi Kolya! Verdasco seems to be the lone outlier in the group but hey, wouldn't Nando find in an instant that double faults weren't part of the variable set!

Cluster 5 houses Andy Murray & Stan the Man! The group seems to have the lowest first serves % mean (which I suspect could be due to some skewing it to look that bad!) and Murray's conspicuous absence from Cluster 2 could have been due to his 2nd Serves (he is part of the group that stands at 50% in this variable against 54% at the group where the other elite members are sheltered)

Cluster 1 comprises members who have been on and off and their pain point seems to be with respect to 2nd serves and of course, as a result, break point conversion. The lads there are probably weak mentally compared to ones from other groups.

Cluster 3 is the one that houses the consistent journeymen who hover around the 10 to 40 rank and their weakest link seems to be their 2nd Serves & Returns. They are, in more ways than one, closer to the cluster 1. Look at the names in the two groups. Those are your regular R32 guys at slams!

I also looked at how the different members of the clusters fared in combination of these variables.

More on that with plots on how the variables interact with each other for these clusters and a deep-dive into Cluster 2 is shown in my continuation here.

Any interesting insights you see in there?! Feel free to share that and any other comments you may have.


Friday, August 7, 2015

Review #501: Kaaviya Thalaivan (2014)

Kaaviya Thalaivan Movie Review

Plot: The two best disciples of Sivadas Swamigal, the earnest owner of a Drama school, are by design pitted against each other by the guru himself and this create multiple calamities ending in the duo’s separation. Years pass by as one finds a good holding and the other wobbles away as a drunk loser only for them to cross paths again when the ongoing Indian Independence Movement gives another chance for the tables to turn!

What Works?
  • Vasantha Balan elevates himself to a new level with this painstakingly made film that relies so much on Jeyamohan’s story & the combine’s screenplay as it does on Balan’s direction.
  • Siddharth may have played second fiddle in Jigarthanda but here he rules the roost & gives the performance of his lifetime with an interval ranting showing at his Guru as the stand-out portion. Prithviraj’s role as a foil is nobly sketched giving proper justification for his character’s oft-conniving acts and the actor brings that to screen quite convincingly.
  • Nasser shows the veteran power in the film and earns instant respect as he goes about lecturing on the attributes of a quality drama artiste.  Vedhika fits very well as Vadivu and scores in her Thirupugazh performance scene.
  • The film’s technical crew is of top quality – Rahman leads the way with excellent songs (well placed and picturised) & immaculate background score fittingly culminating with the Shehnai version of Porai Niruthu when the end credits roll. Nirav Shah’s camerawork does its bit in explaining the shades and moods characters show in the film & Praveen’s editing presents itself on the forefront in sequences that show years & days roll by in the narrative.
  • This is Vasantha Balan’s second period film & putting that alongside his Veyil & Angaadi Theru , his level of detailing doesn’t come across as a surprise. Art Director Santhanam & the constume design team deserves applause for their efforts in providing  the director what he might have wanted!
What Doesn't?
  • The romance between Siddharth and debutant Anaika happens out of the blue & if that portion still leaves a lasting impact, it is because of the two impactful ‘curse’ scenes that follow as its aftermath.
  • The polarization of the two prime characters were explained poetically through the film that the clich├ęd conversation in the climax was not all that necessary
In a Nutshell
The specialty of the film is – The villain in the film is not without his nobility & the hero here is not without his faults! In bringing out memorable showings from his cast & technical crew & making Kaaviya Thalaivan a stand-out film in their resumes, Vasantha Balan elevates his own level.

Naadagam Paaka Ponga!