Piero Paialunga

AI

Hands-On Delivery Routes Optimization (TSP) with AI, Using LKH and Python

Here’s how to optimize the delivery routes, from theory to code. Piero Paialunga · Follow Published in Towards Data Science · 11 min read · 6 hours ago — Photo by Mudit Agarwal on Unsplash The code of this article can be found on this GitHub folder. One of my favorite professors throughout my studies told me this: “Just because your algorithm is inefficient, it doesn’t mean that the problem is hard” This means that

Read More »
AI

Hands-On Optimization Using Genetic Algorithms, with Python

Here’s a full guide on genetic algorithms, what they are, and how to use them Piero Paialunga · Follow Published in Towards Data Science · 13 min read · 16 hours ago — Photo by digitale.de on Unsplash Have you ever heard of this sales tactic? “Are you tired of wasting hours during X? Why don’t you try Y!” I’m sure you did. For example: “Don’t spend hours writing your own code, use our software

Read More »
AI

Hands-On Numerical Derivative with Python, from Zero to Hero

Here’s everything you need to know (beyond the standard definition) to master the numerical derivative world Piero Paialunga · Follow Published in Towards Data Science · 9 min read · 16 hours ago — Photo by Roman Mager on Unsplash There is a legendary statement that you can find in at least one lab at every university and it goes like this: Theory is when you know everything but nothing works.Practice is when everything works

Read More »
AI

Applications of Rolling Windows for Time Series, with Python

Here’s some powerful applications of Rolling Windows and Time Series Piero Paialunga · Follow Published in Towards Data Science · 11 min read · 12 hours ago — Photo by Claudia Aran on Unsplash Last night I was doing laundry with my wife. We have this non-verbal agreement (it becomes pretty verbal when I break it though) about laundry: she is the one who puts the laundry in the washer and drier and I am

Read More »
AI

From Theory to Practice with Particle Swarm Optimization, Using Python

Here’s a tutorial on what PSO is and how to use it Piero Paialunga · Follow Published in Towards Data Science · 9 min read · 1 hour ago — Photo by James Wainscoat on Unsplash There is a joke that cracks me up: “Did you know that, before the clock was invented, people had to actively roam around and ask people the time?” There is obviously no need to explain the joke, but if

Read More »
AI

Feature Extraction for Time Series, from Theory to Practice, with Python

Here’s everything you need to know when extracting features for Time Series analysis Piero Paialunga · Follow Published in Towards Data Science · 10 min read · 2 hours ago — Photo by Harman Sandhu on Unsplash Time series are a special animal. When I started my Machine Learning career I did it because I loved Physics (weird reason to start Machine Learning) and from Physics I understood that I also loved coding and data

Read More »
AI

Hands-on Time Series Anomaly Detection using Autoencoders, with Python

Here’s how to use Autoencoders to detect signals with anomalies in a few lines of codes Piero Paialunga · Follow Published in Towards Data Science · 10 min read · 2 hours ago — Photo by davisuko on Unsplash Anomalous time series are a very serious business. If you think about earthquakes, anomalies are the irregular seismic signals of sudden spikes or drops in data that hint that something bad is going on. In financial

Read More »
AI

Which Regression technique should you use?

Here’s a taxonomy of what is the best regression technique based on your specific dataset Piero Paialunga · Follow Published in Towards Data Science · 10 min read · 10 hours ago — Image made by author using DALL·E When you work in a certain field for long enough, there are some classes, concepts, lessons, and teachers that you will always remember. For example, my mom is a teacher and she remembers the substitute teacher

Read More »
AI

Hands On Optimization with Expected Improvement and Gaussian Process Regression, in Python

A friendly guide to Expected Improvement for Global Optimization, in Python Piero Paialunga · Follow Published in Towards Data Science · 11 min read · 11 hours ago — Image made by author using DALL·E Disclaimer: Gauss has born in 1777 and he was way more brilliant than me. A lot of people have written about this before me and have done an amazing job doing so. A good reference for…

Read More »
AI

Hands-On Building a Virtual Property Consultant Using Artificial Intelligence

This is how I used real estate data and powered them using OpenAI Large Language Model GPT3 Piero Paialunga · Follow Published in Towards Data Science · 11 min read · 4 hours ago — Image made by author using DALL·E3 This article starts with a personal story. I’m from Italy, and I have been living in the United States for 4 years now. I moved fresh out of my university in Rome, and I

Read More »