Cookies help us display personalized product recommendations and ensure you have great shopping experience.

By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
SmartData CollectiveSmartData Collective
  • Analytics
    AnalyticsShow More
    big data analytics in transporation
    Turning Data Into Decisions: How Analytics Improves Transportation Strategy
    3 Min Read
    sales and data analytics
    How Data Analytics Improves Lead Management and Sales Results
    9 Min Read
    data analytics and truck accident claims
    How Data Analytics Reduces Truck Accidents and Speeds Up Claims
    7 Min Read
    predictive analytics for interior designers
    Interior Designers Boost Profits with Predictive Analytics
    8 Min Read
    image fx (67)
    Improving LinkedIn Ad Strategies with Data Analytics
    9 Min Read
  • Big Data
  • BI
  • Exclusive
  • IT
  • Marketing
  • Software
Search
© 2008-25 SmartData Collective. All Rights Reserved.
Reading: Comparing baseball pitcher styles with lattice graphics
Share
Notification
Font ResizerAa
SmartData CollectiveSmartData Collective
Font ResizerAa
Search
  • About
  • Help
  • Privacy
Follow US
© 2008-23 SmartData Collective. All Rights Reserved.
SmartData Collective > Big Data > Data Mining > Comparing baseball pitcher styles with lattice graphics
Data MiningPredictive Analytics

Comparing baseball pitcher styles with lattice graphics

DavidMSmith
DavidMSmith
5 Min Read
SHARE

Last night’s Bay Area R User’s Group meeting was on the topic of Building Web Dashboards, and focused on integrating analytics built using R into web-based applications.

Mike Driscoll showed his PitchFX application, which visualizes the performance of major league baseball pitchers. I was intrigued to learn that the MLB tracks a host of statistics about each pitch thrown by each pitcher in pro baseball games: the speed of the pitch, the type of pitch (fastball, curveball, changeup, etc.) and the X-Y location where the pitch enters the batter’s box. MLB have made these data available to the public, and Mike has created a neat application for visualizing it.

With PitchFX you can choose any pitcher from any team and get an instant analysis of his pitching style from the 2008 season. For example, here’s the analysis for the Red Sox’s Clay Buchholz:

Buchholz
Buchholz uses only four different pitches. The top row is a lattice chart showing the distributions of speeds for each type of pitch: fastballs are, uh, fast (80-85 mph and up); changeups are slower; sliders come at a range of speeds. But it’s when you combine the pitch speed with the location that things really get interesting: that’s what t…

More Read

Smart Data Collective Free Webinar
Game Analytics: Platform Trends, Monetization and Player Value in Social Games
A video introduction to R for Excel users
Apple’s iLife ‘09 software suite will include a…
Outsourcing Your Data Warehouse

Last night’s Bay Area R User’s Group meeting was on the topic of Building Web Dashboards, and focused on integrating analytics built using R into web-based applications.

Mike Driscoll showed his PitchFX application, which visualizes the performance of major league baseball pitchers. I was intrigued to learn that the MLB tracks a host of statistics about each pitch thrown by each pitcher in pro baseball games: the speed of the pitch, the type of pitch (fastball, curveball, changeup, etc.) and the X-Y location where the pitch enters the batter’s box. MLB have made these data available to the public, and Mike has created a neat application for visualizing it.

With PitchFX you can choose any pitcher from any team and get an instant analysis of his pitching style from the 2008 season. For example, here’s the analysis for the Red Sox’s Clay Buchholz:

Buchholz
Buchholz uses only four different pitches. The top row is a lattice chart showing the distributions of speeds for each type of pitch: fastballs are, uh, fast (80-85 mph and up); changeups are slower; sliders come at a range of speeds. But it’s when you combine the pitch speed with the location that things really get interesting: that’s what the bottom chart shows. Each dot is a pitch, and its location matches the location the pitch landed in the batter’s box. The redder the dot, the faster the pitch (likewise, the bluer the slower); the darker the dot, the more pitches in that location. (Mike used the colorspace package to generate the range of colors in the plot.) Here you can see some interesting characteristics of Buchholz’s pitching. Fastballs are high and left. Sliders come in two varieties: high above the plate but slow, or midspeed and to the right. Curveballs go low and slow, but occasionally hit the strike zone. Changeups are fairly localized, but the speed is unpredictable.

Mike also presented the technical details of how he created the PitchFX app. The charts are constructed in R, but R itself runs as a module of the Apache web server, thanks to Rapache. When you choose an analysis in the PitchFX web application the request is sent to Rapache, which in turn draws the data from a MySQL database for analysis in R. This creates a chart which in turn is sent to the web browser for display on your screen. The caching functionality of Apache means that charts are not needlessly regenerated unless the underlying data change. It’s a really well-put together application, and makes it easy and fun to compare the styles of your favourite pitchers.

Also in the same meeting, John Oram showed an outstanding app also using Rapache for visualizing environmental data in the Bay Area. More on that, tomorrow.

Dataspora: PitchFX viewer

TAGGED:data visualizationgraphsr
Share This Article
Facebook Pinterest LinkedIn
Share

Follow us on Facebook

Latest News

AI role in medical industry
The Role Of AI In Transforming Medical Manufacturing
Artificial Intelligence Exclusive
b2b sales
Unseen Barriers: Identifying Bottlenecks In B2B Sales
Business Rules Exclusive Infographic
data intelligence in healthcare
How Data Is Powering Real-Time Intelligence in Health Systems
Big Data Exclusive
intersection of data
The Intersection of Data and Empathy in Modern Support Careers
Big Data Exclusive

Stay Connected

1.2kFollowersLike
33.7kFollowersFollow
222FollowersPin

You Might also Like

Hadoop pushes, pulls Big Data analytics into mainstream (Part Two)

8 Min Read
data visualization tools for your business
Data Visualization

Real-Time Interactive Data Visualization Tools Reshaping Modern Business

5 Min Read

IRS Internal Migration Data and Housing Bubble

2 Min Read
raw data to visualization
Data Visualization

From Raw Data to Visualization: Marvel Social Graph Analysis

7 Min Read

SmartData Collective is one of the largest & trusted community covering technical content about Big Data, BI, Cloud, Analytics, Artificial Intelligence, IoT & more.

ai chatbot
The Art of Conversation: Enhancing Chatbots with Advanced AI Prompts
Chatbots
AI and chatbots
Chatbots and SEO: How Can Chatbots Improve Your SEO Ranking?
Artificial Intelligence Chatbots Exclusive

Quick Link

  • About
  • Contact
  • Privacy
Follow US
© 2008-25 SmartData Collective. All Rights Reserved.
Go to mobile version
Welcome Back!

Sign in to your account

Username or Email Address
Password

Lost your password?