Publications by Dario Radečić
Python Square Roots: 5 Ways to Take Square Roots in Python
There's more than one way to Python square roots. Learn 5 approaches to square roots in Python + some bonus advanced tricks.After learning about 4 ways to square a number in Python, now it's time to tackle the opposite operation – Python square roots. This article will teach you five distinct ways to take square roots in Python and will finish ...
7568 sym Python (5095 sym/12 pcs) 26 img
PyTorch: How to Train and Optimize A Neural Network in 10 Minutes
Deep learning might seem like a challenging field to newcomers, but it’s gotten easier over the years due to amazing libraries and community. PyTorch library for Python is no exception, and it allows you to train deep learning models from scratch on any dataset.Sometimes it’s easier to visualize deep learning models – you can do so with the...
7705 sym Python (5428 sym/10 pcs) 18 img
R and GPX – How to Read and Visualize GPX Files in R
Geospatial data is everywhere around us, and it’s essential for data professionals to know how to work with it. One common way to store this type of data is in GPX files. Today you’ll learn everything about it, from theory and common questions to R and GPX file parsing. We’ll start simple – with just a bit of theory and commonly asked que...
7344 sym R (1347 sym/6 pcs) 16 img
shiny.benchmark – How to Measure Performance Improvements in R Shiny Apps
The shiny.benchmark package by Appsilon allows you to compare the performance of different versions of R Shiny applications. You can write instructions that will be executed and evaluated on different versions of your app and easily measure the performance differences. In today’s article, you’ll learn how to install and use the shiny.benchmar...
7287 sym R (677 sym/11 pcs) 22 img
5 Minute Guide to Detecting Holidays in Python
If you decide to dive deep into data analysis and want to, for example, analyze purchasing trends, you’ll probably want to construct a new attribute in your dataset having only two possible outcomes — 0 or 1 — is a holiday, isn’t a holiday. Take a moment to think about why this derived variable might be useful. You probably won’...
857 sym
Here’s How to Read License Plate with 10 Lines of Python
The fastest guide on extracting text from the license plate, but also more Any sort of computer vision is not a trivial task — and license plate detection is not an exception. If you take a moment to think about it, it’s so easy for us humans to classify what’s on images — but the problem arises when you want to automate that pro...
884 sym
Top 3 Python Functions You Don’t Know About (Probably)
Cleaner Code and Fewer Loops? Count me in. As one of the most popular languages of the 21st century, Python certainly has a lot of interesting functions worth exploring and studying in-depth. Three of those will be covered today, each theoretically and through practical examples. The main reason why I want to cover these functions is that they h...
904 sym
Top 3 Python Functions I Wish I Knew Earlier
You don’t know what you don’t know. Despite being one of the simplest programming languages out there, Python still has a vast variety of inbuilt functions that are less known to broader audiences — mostly because they aren’t covered in the majority of books or online courses. That, however, doesn’t mean that they are irrelevant. T...
875 sym
Python *args and **kwargs — Data Science Edition
Make your code more elegant with arguments and keyword arguments If you’ve ever stumbled upon *args and **kwargs after looking at a function definition and wondered what the heck those are, you’re at the right place. Today we’ll go through both and show their use cases in your average machine learning task. Both *args and *kwargs allow you ...
887 sym
JSON explained for Python users: Data Science Edition
Working with JSON data is inevitable — let’s learn it properly. JSON data is everywhere. It still isn’t the most widely used data format among data scientists, as datasets are stored either in CSVs or in databases. Today you’ll learn how to deal with JSON, and how to make use of it in your data science projects. But what is JSON? Good...
878 sym