DS Tech Hacker

Speed up Python with Numba

In the last article, I discussed which Python design decisions limit its performance. In this writing, I will demonstrate the Numba package that addresses those limitations to provide high-speed performance for specific use cases, particularly when speeding up functions performing computations on the Numpy’s ndarrays. “Numba is a just-in-time compiler for Python that works best on code that uses NumPy …

Speed up Python with Numba Read More »

Why is Python slow?

In this series of articles, I present some Python features that cause the execution time to be extended and some popular workarounds to make your code run faster. In the first part, I explain why Python is slower than low-level languages such as C or C++ and other high-level languages like Java or C#. Let’s …

Why is Python slow? Read More »

One of the best books to get started with Data Science

Some years ago, during my studies at the University of Bonn, I had a Computational Statistics lecture. It was one of the elective courses within the Econometrics and Statistics specialization. Until today, you can read on the syllabus of this lecture: “The course explains ideas and methodological issues of computationally intensive statistical methods. There will …

One of the best books to get started with Data Science Read More »

3 ways to create a Deep Neural Network model with Keras and Tensorflow 2.0 – Sequential, Functional and Subclassing API

In this article you will learn about three ways to create deep neural network models using Keras and Tensorflow 2.0 You will learn about their advantages and limitations, and see examples of how these methods are used. Keras and Tensorflow 2.0 provide three ways to build different deep neural network architectures: Sequential API Functional API …

3 ways to create a Deep Neural Network model with Keras and Tensorflow 2.0 – Sequential, Functional and Subclassing API Read More »

Loops, lists, sorting… What’s next?

Most of the programming tutorials aimed at beginners emphasize learning fundamental code instructions like ‘for’ or ‘if’, enabling writing basic programs and algorithms. While it is a good idea to familiarize yourself with the nuances of your favorite programming language with such tutorials’ help, it won’t be necessary to go through essential programming rules every …

Loops, lists, sorting… What’s next? Read More »

Python is slow, so why we’re using it for Data Science?

Author: Mirosław “miro662” Błażej, Python developer and Masters’ IT student at AGH UST. Linkedin GitHub Nowadays, Python is the most popular programming language for data-science-related tasks. And many of those tasks are computation-heavy ones. One of them is matrix multiplication – a basic linear algebra operation, used by almost all ML algorithms, for example, to compute activations …

Python is slow, so why we’re using it for Data Science? Read More »

3 tips every programming newbie should know – make use of your IDE

In my last article, I wrote that the journey for newbie programmers could be difficult. While starting, there are many things to struggle with because of lack of experience. In the previous article, I mentioned three tips that I would like to share with beginners and then I described the first one. Here, I will continue …

3 tips every programming newbie should know – make use of your IDE Read More »

en_US