Fourier transform for time-series: fast convolution explained with numpy
Implementation from scratch vs numpy The Fourier transform algorithm is considered one of the greatest discoveries in all of mathematics. French mathematician Jean-Baptiste Joseph Fourier laid the foundation for harmonic analysis in his book "Théorie- 21149Murphy ≡ DeepGuide
Python Lists Vs. NumPy Arrays: A Deep Dive into Memory Layout and Performance Benefits
FAST COMPUTING Data in NumPy arrays are arranged as compactly as books on a shelf. Photo by Eliabe Costa on Unsplash In this article, we will delve into the memory design differences between native Python lists and NumPy arrays, revealing why NumPy can pr- 23945Murphy ≡ DeepGuide
Efficient k-Nearest Neighbors (k-NN) Solutions with NumPy
FAST COMPUTING Introduction I have a friend who is a city planner. One day, he was tasked with reassessing the location suitability of thousands of gas stations in the city, needing to find the positions of the k-nearest gas stations to each one. How can- 28364Murphy ≡ DeepGuide
Fourier-Transform for Time Series: About Image Convolution and SciPy
This post is the second of the Fourier-transform for time series, check the first here: Fourier transform for time-series: fast convolution explained with numpy Quick review of the previous post In the first post, I explained how the Fourier-transform can- 27763Murphy ≡ DeepGuide
Solving Reinforcement Learning Racetrack Exercise – Building the Environment
The story discusses the solution to the racetrack exercise in the Reinforcement Learning book together.- 23506Murphy ≡ DeepGuide
Decoding NumPy's Dot Product: A Brief Exploration of Dimensional Wizardry
Introduction Am I the only one who periodically gets confused when dealing with dimensions in NumPy? Today, while reading a Gradio’s documentation page, I came across the following code snippet: sepia_filter = np.array([ [0.393, 0.769, 0.189], [0.34- 24726Murphy ≡ DeepGuide
Fourier-transform for time-series : plotting complex numbers
Plot the Fourier-transform algorithm to understand it.- 24578Murphy ≡ DeepGuide
Fourier-transform for time-series : detrending
Detrending your time-series might be a game-changer.- 22919Murphy ≡ DeepGuide
Is Julia Faster than Python and Numba?
Numba is very fast, but is it fast enough?- 26336Murphy ≡ DeepGuide
Exploring Numexpr: A Powerful Engine Behind Pandas
Enhancing your data analysis performance with Python's Numexpr and Pandas' eval/query functions- 29551Murphy ≡ DeepGuide
pandas: work on your dtypes!
Having the right dtypes in pandas is a must for clean data-analysis! Here's how and why.- 27667Murphy ≡ DeepGuide
How to Optimize Multidimensional Numpy Array Operations with Numexpr
FAST COMPUTING This is a relatively brief article. In it, I will use a real-world scenario as an example to explain how to use Numexpr expressions in multidimensional Numpy arrays to achieve substantial performance improvements. There aren’t many ar- 26634Murphy ≡ DeepGuide
Introducing NumPy, Part 2: Indexing Arrays
Slicing and dicing like a pro- 29292Murphy ≡ DeepGuide
Introducing NumPy, Part 3: Manipulating Arrays
Shaping, transposing, joining, and splitting arrays- 26111Murphy ≡ DeepGuide
Introducing NumPy, Part 4: Doing Math with Arrays
Plus reading and writing array data!- 25684Murphy ≡ DeepGuide
Sklearn tutorial: module 2
After years of playing with the Python scientific stack (NumPy, Matplotlib, SciPy, Pandas, and Seaborn), it became obvious to me that the next step was scikit-learn, or "sklearn". This second module focuses on the concept of models scores, inclu- 29034Murphy ≡ DeepGuide
Faster DataFrame Serialization
Read and Write DataFrames Up to Ten Times Faster than Parquet with StaticFrame NPZ- 28680Murphy ≡ DeepGuide
Build Your Own Synthetic Data
Go from Nothing to a Complete Dataframe with Python- 28631Murphy ≡ DeepGuide
Implementing Simple Neural Network Backpropagation from Scratch
Solving XOR gate problem- using just NumPy, then compare with PyTorch implementation.- 26809Murphy ≡ DeepGuide
physipy: make python unit-aware
Part 1: physipy brings meter and Joule to python- 25356Murphy ≡ DeepGuide
1 2
We look at an implementation of the HyperLogLog cardinality estimati
Using clustering algorithms such as K-means is one of the most popul
Level up Your Data Game by Mastering These 4 Skills
Learn how to create an object-oriented approach to compare and evalu
When I was a beginner using Kubernetes, my main concern was getting
Tutorial and theory on how to carry out forecasts with moving averag