---
title: If you don't try you will always miss
description: Modern sports heavily rely on statistics. Alongside trainers, physiotherapists and doctors, data analysts have become a vital part of a sports team. At the recent hackathon we gave our participants a possibility to become such analyst, working with Kobe Bryant to help him make a successful come back.
image: https://blogs.itility.nl/hubfs/KobeBryant_featured-image.png
---

[![itility](https://blogs.itility.nl/hubfs/blog/img/itility%20logo-01.png)](https://www.itility.nl)

- Your industry 
    - [Agriculture](https://www.itility.nl/agriculture)
    - [Energy](https://www.itility.nl/energy)
    - [Manufacturing](https://itility.nl/manufacturing)
- Our expertise 
    - [Business transformations](https://www.itility.nl/business-transformations)
    - [Software and data](https://www.itility.nl/software-development/)
    - [IT foundation](https://www.itility.nl/it-foundation)
    - [Managed services](https://www.itility.nl/managed-services)
    - [(Generative) AI](https://www.itility.nl/ai/)
- [Who we are](https://www.itility.nl/who-we-are)
- [Working at Itility](https://careers.itility.nl)
- [About](https://itility.nl/about) 
    - [About Itility](https://itility.nl/about)
    - [Offices](https://itility.nl/about#office-locations)
    - [Tech partners](https://itility.nl/tech-partners)
    - [Responsibility](https://itility.nl/responsibility)
- [Contact](https://www.itility.nl/#contact)

- Your industry 
    - [Agriculture](https://www.itility.nl/agriculture)
    - [Energy](https://www.itility.nl/energy)
    - [Manufacturing](https://itility.nl/manufacturing)
- Our expertise 
    - [Business transformations](https://www.itility.nl/business-transformations)
    - [Software and data](https://www.itility.nl/software-development/)
    - [IT foundation](https://www.itility.nl/it-foundation)
    - [Managed services](https://www.itility.nl/managed-services)
    - [(Generative) AI](https://www.itility.nl/ai/)
- [Who we are](https://www.itility.nl/who-we-are)
- [Working at Itility](https://careers.itility.nl)
- [About](https://itility.nl/about) 
    - [About Itility](https://itility.nl/about)
    - [Offices](https://itility.nl/about#office-locations)
    - [Tech partners](https://itility.nl/tech-partners)
    - [Responsibility](https://itility.nl/responsibility)
- [Contact](https://www.itility.nl/#contact)

[![Picture of Daniel Koops](https://blogs.itility.nl/hubfs/Daniel%20Koops-rond.png)](https://blogs.itility.nl/en/author/daniel-koops?hsLang=en)

 Written by:  

## [Daniel Koops](https://blogs.itility.nl/en/author/daniel-koops?hsLang=en)

# If you don't try you will always miss

**Modern sports heavily rely on statistics. Alongside trainers, physiotherapists and doctors, data analysts have become a vital part of a sports team. They collect and analyze data gathered during training and competitions to uncover patterns and variables which help sportsman reach best results. In team sports (football, volleyball or basketball) this kind of insight is most beneficial.**

At the recent hackathon we gave our participants a possibility to become such analyst, evaluating Kobe Bryant's 20-year career to find out from which angle he has the best shot accuracy.

Participants were given a dataset containing records of all shots Kobe Bryant ever attempted (whether successful or not) – an impressive number of over 30.000 shots. Each shot was described by 25 features like type of shot (action type), distance from the target, name of the opposing team, position on the field, etc. Plus a field with the result of the shot – with 4.500 shot attempts for which the outcome was not labeled.

The challenge? Teams were asked to provide success probabilities of the non-labeled shots. In addition: find out from which angle Kobe had the most shot accuracy. The quality of the scoring was measured using a log loss and the shot accuracy using our famous applause meter.

This meetup we were happy to welcome many young and curious adepts of data science ready to put their skills up for a challenge. To make sure they could make the best of the evening they were paired with more experienced participants.

![DS\_Teams\_hackathon Kobe Bryant](https://blogs.itility.nl/hs-fs/hubfs/DS_Teams_hackathon%20Kobe%20Bryant.png?width=900&name=DS_Teams_hackathon%20Kobe%20Bryant.png)*Teams are preparing for the **challenge*

## Visualization

As the challenge started and I made my first round across the room, I noticed that most of the teams took a similar approach and diversified their resources. And so, part of each team focused on visualizing data at hand, whereas the others started to develop a model. The idea was that the visualization may provide some insight into how to improve the model, by pointing to the variables of the highest relevance.

Analytics tools used included Python plotting packages (matplotlib), Pandas library, as well as Splunk. However, no matter which tool was used, it all painted the same picture: action type was the most predictive variable and a short distance from the target increased Kobe’s chance to score.

## Data preparation

As for team members who were responsible for model building they all started by cleaning their dataset. Most of the teams removed all non-predictive variables such as game\_id and shot\_id. One of the teams was so effective at it that they run their model with only one variable: action type. While indeed that variable had the most predictive value (one team estimated it at 31%), by itself it wasn’t sufficient to accurately predict success of a shot.

![Analyzing data\_hackathon Kobe Bryant-1](https://blogs.itility.nl/hs-fs/hubfs/Analyzing%20data_hackathon%20Kobe%20Bryant-1.png?width=900&name=Analyzing%20data_hackathon%20Kobe%20Bryant-1.png)*Analyzing the variables like shots by action type and shots by opponents *

Others tried to expand their dataset by creating derived variables, such as 'games played in the last 14 days'. At the same time, they reduced the number of categories by aggregation. Unfortunately, this approach proved to be too ambitious for such a short time.

Another team took a very systematic approach of analyzing each variable’s relevance using caret package in R. This approach resulted in 0,607 log loss score, good for a very proud second place!

## Building a model

When it came to building the model, most of the teams relied on simple, effective solutions, such as linear regression, XG Boost and/or random forest. No matter which approach was chosen, action type always stood out as a variable of highest relevance with dunking shot being the most successful type of shot. 

![DS\_Winner\_hackathon Kobe Bryant](https://blogs.itility.nl/hs-fs/hubfs/DS_Winner_hackathon%20Kobe%20Bryant.png?width=300&name=DS_Winner_hackathon%20Kobe%20Bryant.png)The winning team got an impressive 0,6 log loss score, however many teams were right behind them with score differences in far decimal points. The “if you don’t try you always miss” was among the most impactful and relevant advise, and it not only applies to basketball!

[![back](https://blogs.itility.nl/hubfs/blog/img/button_back.png)Back to overview](https://blogs.itility.nl?hsLang=en)

Tags: [Itility & Careers](https://blogs.itility.nl/en/tag/itility-careers)   |   [Hackathon](https://blogs.itility.nl/en/tag/hackathon)

Share:

- [![](https://blogs.itility.nl/hubfs/blog/img/linked-in-02.png)](https://www.linkedin.com/shareArticle?mini=true&url=https://blogs.itility.nl/en/if-you-dont-try-you-always-miss&title=If%20you%20don't%20try%20you%20will%20always%20miss&source=Itility)
- [![](https://blogs.itility.nl/hubfs/blog/img/socmedicons-04.png)](https://www.facebook.com/sharer/sharer.php?u=https://blogs.itility.nl/en/if-you-dont-try-you-always-miss&t=If%20you%20don't%20try%20you%20will%20always%20miss)

# Author's picks

[![](https://blogs.itility.nl/hs-fs/hubfs/Blog%20-Taking%20manual%20work%20out%20of%20invoice%20processing%20with%20AI.png?width=345)](https://blogs.itility.nl/en/taking-manual-work-out-of-invoice-processing-with-ai?hsLang=en)

[(Gen) AI](https://blogs.itility.nl/en/topic/gen-ai?hsLang=en#b-overview)   |   [FinOps](https://blogs.itility.nl/en/topic/finops?hsLang=en#b-overview)   |   [Industry Solutions](https://blogs.itility.nl/en/topic/industry-solutions?hsLang=en#b-overview)

## [Taking manual work out of invoice processing with AI](https://blogs.itility.nl/en/taking-manual-work-out-of-invoice-processing-with-ai?hsLang=en)

[![](https://blogs.itility.nl/hs-fs/hubfs/BMAD-party-mode-on-1920x1080-1.png?width=345)](https://blogs.itility.nl/en/from-bmad-to-agents-to-skills?hsLang=en)

[(Gen) AI](https://blogs.itility.nl/en/topic/gen-ai?hsLang=en#b-overview)   |   [AI engineering](https://blogs.itility.nl/en/topic/ai-engineering?hsLang=en#b-overview)

## [From BMAD to agents to skills: Why we are building reusable engineering knowledge](https://blogs.itility.nl/en/from-bmad-to-agents-to-skills?hsLang=en)

[![](https://blogs.itility.nl/hs-fs/hubfs/48629250503_d19c551163_b-1.jpg?width=345)](https://blogs.itility.nl/en/itilian-in-the-spotlight-max-heezemans?hsLang=en)

[Careers](https://blogs.itility.nl/en/topic/careers?hsLang=en#b-overview)   |   [Itility & Careers](https://blogs.itility.nl/en/topic/itility-careers?hsLang=en#b-overview)

## [Itilian in the Spotlight: Where ownership creates impact](https://blogs.itility.nl/en/itilian-in-the-spotlight-max-heezemans?hsLang=en)

# Technology, Data, People

[Eindhoven (HQ)](https://itility.nl/about#nl-office)  
[Flight Forum 3360](https://goo.gl/maps/eEgqhvCsQ2wBY3rs6)  
 5657 EW, Eindhoven   
 The Netherlands

[info@itility.nl](mailto:info@itility.nl)  
[+31 (0)88 00 46 100](tel:+31880046100)

[San Diego](https://itility.nl/about#us-office)  
[13500 Evening Creek Dr N #120](https://maps.app.goo.gl/Z9wtjcQK6Jn8QGa88)  
 San Diego, CA 92128   
 United States

[info@us-itility.com](mailto:info@us-itility.com)  
[+1-858-325-0120](tel:+18583250120)

[Austin](https://itility.nl/about#us-office)[106 E 6th St #900](https://maps.app.goo.gl/tfFfowbYtwzCfwFN8)  
 Austin, TX 78701   
 United States

[info@us-itility.com](mailto:info@us-itility.com)  
[+1-858-325-0120](tel:+18583250120)

[Romania](https://itility.nl/about#romania-office)  
[Palas Campus Iași](https://maps.app.goo.gl/6KEC5iTi8RUtM1QTA)  
 B2 Building, 6th Floor  
 Romania

[contact@itility.nl](mailto:contact@itility.nl)  
[+31 (0)88 00 46 100](tel:+31880046100)

- [Linkedin](https://www.linkedin.com/company/itility)
- [Facebook](https://nl-nl.facebook.com/itilitybv)
- [YouTube](https://www.youtube.com/@itility-bv)
- [Mail](mailto:info@itility.nl)

 © Copyright - Itility 2026 | [Cookie policy](https://www.itility.nl/cookie-policy) | [Privacy policy](https://www.itility.nl/privacy)

[![Itility](https://blogs.itility.nl/hubfs/blog/img/itility%20logo-01.png)](https://itility.nl)