r/dataanalysis • • Feb 13 '25

Presenting: Pokémon Data Science Project

Hello! I'm Daalma, and I love Pokémon. As a Data Scientist, I've been working on this project in my spare time. It's something I hope reflects my love for the series and that others as passionate as I am will find interesting or appealing.

This is a complete Data Science project with three main objectives:

1: Generation of a dataset using web scraping containing information about all Pokémon (up to Generation IX), including variants and forms.

2: Preprocessing the dataset, extracting basic information, and creating informative visualizations.

3: Applying Machine Learning and AI techniques to generate higher-level insights and visualizations.

You can check out the project here: https://github.com/Daalma7/PokemonDataScience

The results of the project have been quite good, and while I reserve the right to have made mistakes, I must say I’m really pleased with the graphics and outcomes. If anyone wants to take a look and share their thoughts, I would be very grateful. Below are some images showing a sample of what I've done.

Thank you so much for reading!

Daalma

625 Upvotes

57 comments sorted by

49

u/Ok-Profession-3312 Feb 13 '25

You beautiful individual, we don’t deserve you.

6

u/Daalma7 Feb 14 '25

Hahahahahahah that's not true (the second part only o_o)

5

u/Remarkable_Wrap_5484 Feb 14 '25

Bruh!

1

u/TechnicalAir8897 Feb 17 '25

ikr what the hell do something deserving with ur life

14

u/rosier7 Feb 14 '25

I’m a new and aspiring Data Analyst. Thank you for doing this, for some reason I learn a lot than listening during my class 😂. Im leaning ml for my data scientist course rn, I can’t wait to read through the repo esp the ml part!

2

u/Daalma7 Feb 14 '25

I'm really glad that it helped you learn :)))) a star on the project will help too ;)

8

u/AlgebraicHeretic Feb 14 '25

This may be the all-time greatest application of data science.

1

u/Daalma7 Feb 17 '25

Hahahahaha, maybe not the most useful, but it's definitely one of the most fun :)

7

u/Hobodaklown Feb 14 '25

This needs a NSFW flair

2

u/Daalma7 Feb 14 '25

Sad it can't be changed hahahaha

9

u/cli797 Feb 13 '25

Wow, I am excited about this

1

u/Daalma7 Feb 14 '25

Thanks! Any change or update idea will be well received ;)

4

u/Remarkable_Wrap_5484 Feb 14 '25

3

u/Daalma7 Feb 14 '25

Hahahahahahahahahhahahahah

3

u/Nuisanz Feb 14 '25

That chord diagram was incredibly well done - love how you communicated this info!

2

u/Daalma7 Feb 14 '25

Thanks! It was done using Flourish ;)

3

u/ElectrikMetriks Feb 14 '25

Belongs in r/dataisbeautiful nicely done!

2

u/Daalma7 Feb 17 '25

It's already there ;)

2

u/Middle-Trust4240 Feb 14 '25

Amazing!

1

u/Daalma7 Feb 14 '25

Thanks a lot :)

2

u/RealKillerSean Feb 14 '25

Nerd! Cool shit man, keep doing this!

2

u/Daalma7 Feb 14 '25

I'm not going to deny it o_o

2

u/SnooGuavas6069 Feb 14 '25

Beautiful. Thanks for the repo.

2

u/Daalma7 Feb 14 '25

Thanks to you! Any issue or pull request will be also well received :)

2

u/thotpatrol248 Feb 14 '25

Hey this is wonderful! I’d love to get your advice on how you learned scikit-learn or web scraping in Python. This has inspired me in my own data science journey!

1

u/Daalma7 Feb 17 '25

I love that it motivates you! Honestly, I learned Python almost entirely self-taught, although I did have a few courses where I used Python at university and during my master's. There are plenty of free Python tutorials and courses available online nowadays, and if you already know another programming language, Python won’t be particularly difficult for you.

On the other hand, when it comes to scraping, that was completely self-taught. I discovered the BeautifulSoup library, and with the documentation, Stack Overflow, and a few questions to ChatGPT, I managed to get by hahaha.

2

u/LUCAtheDILF Feb 14 '25

Omg, you are god, we don't deserve you!! This is amazing!!!!

2

u/Daalma7 Feb 17 '25

I didn't know being a god was so easy hahahahahahah.

2

u/LUCAtheDILF Feb 17 '25

Believe me, there are mortals struggling rn how to build a pca, you did it flawless OP.

2

u/Daalma7 Feb 17 '25

Well then, I extend a hand to those who want to reach where I am ;)

2

u/UnderstandingThis471 Feb 14 '25

Thank you, this will be a core memory for me now.

1

u/Daalma7 Feb 17 '25

I'm glad you liked it :)

2

u/Competitive_Cat_2020 Feb 14 '25

What was your most surprising finding?

2

u/Daalma7 Feb 17 '25 edited Feb 17 '25

Well, there are many interesting things, but what fascinates me the most is that you can almost certainly predict whether a Pokémon is legendary without actually knowing it, just based on its other attributes. Something I really loved was the clustering. There are dual-type Pokémon that 'belong' more to the class of only one of their two types, showing that they are more 'similar' to one type than the other. (For example, Applin's evolutionary line is more 'similar' to the Dragon type than to the Grass type).

There are even Pokémon, like Drapion, that end up in the class of Fossil and Water Pokémon, even though it has nothing to do with those types o_o.

2

u/Competitive_Cat_2020 Feb 17 '25

Hahaha drapion is certainly an interesting case then 😂

Thanks for the response!

2

u/neovegeto Feb 15 '25

Awesome.

1

u/Daalma7 Feb 17 '25

You're awesome.

2

u/owaiis Feb 15 '25

Can I ask which platform you are using for visualisation?

1

u/Daalma7 Feb 17 '25

I mainly use Matplotlib, Seaborn, and Plotly in Python. I only made the chord diagrams with Flourish.

2

u/Emuthusiast Feb 16 '25

You are spectacular!!!!!! You’re the type of people that are best to work with. Your love for the series is as evident as your skills. Blessings!!! I can’t wait to see more.

2

u/Daalma7 Feb 17 '25

Thank you for your kind words :)

2

u/[deleted] Feb 16 '25

I like it visually stunning

2

u/Daalma7 Feb 17 '25

I also think it's visually very beautiful, thank you!

2

u/[deleted] Feb 17 '25

I am new to data analytics and it’s kind of crazy that I came across something that I was dreaming about something similar already. I’m glad you did it first. It’s definitely not a Pokémon project but I wanted investors to get excited about what data actually shows.

2

u/Daalma7 Feb 17 '25

For me, data visualization is what "sells" the most in a project because it shows that you are capable of seeing connections and, most importantly, conveying them to an audience that is less specialized in your field of expertise—much more than model metrics. Learn and research; there are many ways to create beautiful charts nowadays. I usually use Python, but there are also plenty of online resources for it! :)

2

u/[deleted] Feb 17 '25 edited Feb 17 '25

It’s nice to see that someone else gets that please due forgiven I’m having a holy shit moment lol 😂

2

u/Illustrious-Yam-3718 Feb 16 '25

I love this & am glad that you shared it with us. Well done!

1

u/Daalma7 Feb 17 '25

Thanks a lot! ;)

2

u/CuCu_Mbur Feb 17 '25

Im a Master's student in Data Science and I love how I can finally understand the algorithms and background maths that are projected on the graphs. Awesome work!

1

u/Daalma7 Feb 17 '25

I also made one a few years ago! That master's program was great on a theoretical level, and they taught us a lot about data visualization. However, in this project, there are also other visualizations that I learned on my own to better convey the information I want. Just to show you that it all depends on how it's presented to you ;)

3

u/allhailthedestroyer Feb 13 '25

This looks so fun!

2

u/Daalma7 Feb 14 '25

Actually, it was really fun to do, but the amount of time spent making each graph individually and paying so much attention to detail... I’m not sure if it was worth it :/ or that was what we thought before publishing it and see all your good comments :)

2

u/Impressive_Ad7823 Feb 14 '25

I love this!

2

u/Daalma7 Feb 14 '25

And I loved that you shared your opinion :)