atlas news
    
Python Guides
14  janvier     09h48
Create a Matplotlib Boxplot for Time Series Data in Python
Bijay Kumar    I’ve found that a single line chart often hides the most important parts of a story. When you are dealing with time series data, showing just the average or the trend line isn’t enough to see the full picture. You often need to see the spread or the volatility of that data over specific intervals, ...
    07h57
How to Create a Matplotlib Time Series Scatter Plot
Bijay Kumar    Visualizing data over time is a task I perform almost daily as a developer. While line charts are the standard, there are many times when a scatter plot is actually the better choice. In my experience, scatter plots are perfect for identifying outliers in time-based data or showing specific events...
    06h56
How to Set Y-Axis Range in Matplotlib Bar Charts
Bijay Kumar    In my years of building data dashboards for US-based financial firms, I’ve realized that Matplotlib’s default scaling isn’t always perfect. Sometimes, the auto-scaling feature hides the small differences between data points that actually matter for your analysis. In this tutorial, I will show you...
    06h16
Set a Logarithmic Scale on the Y-Axis in Matplotlib
Bijay Kumar    Visualizing data with massive variations can be quite a headache. I often find that a standard linear scale makes small values disappear while large values hog the entire chart. In my experience, switching to a logarithmic scale is the best way to solve this. It allows you to see the percentage...
    05h41
How to Update Matplotlib Scatter Plot in a Loop
Bijay Kumar    Dynamic data visualization is a skill I frequently utilize, particularly when tracking real-time trends or simulating movements. In my experience, static plots often fail to tell the whole story, particularly when you need to see how data points evolve. I have spent many hours refining the process...
13  janvier     13h22
Enhance Keras ConvNets with Aggregated Attention Mechanisms
Bijay Kumar    I have spent the last four years building deep learning models, and if there is one thing I have learned, it is that standard Convolutional Neural Networks (ConvNets) sometimes miss the big picture. While convolutions are great at picking up local patterns, they often struggle to understand which...
    12h27
Implement Class Attention Image Transformers (CaiT) with LayerScale in Keras
Bijay Kumar    I’ve found that scaling Vision Transformers (ViT) often leads to significant training instability. Standard ViT architectures tend to saturate or diverge when you add too many layers, which can be quite frustrating during model development. Recently, I started using Class Attention Image...
    11h15
Fix the Train-Test Resolution Discrepancy in Keras
Bijay Kumar    I have often noticed a frustrating drop in accuracy when deploying models. You train a model on 224 times 224 images, but the real-world performance only peaks when you feed it larger images during inference. This phenomenon is known as the train-test resolution discrepancy, and it occurs because...
    10h02
Knowledge Distillation in Keras
Bijay Kumar    I have spent a significant amount of time building complex deep learning models that perform brilliantly but are far too heavy for mobile devices. In my experience, Knowledge Distillation is the most effective way to shrink a massive Teacher model into a compact Student model while keeping the...
    07h45
Image Tokenization in Vision Transformers with Keras
Bijay Kumar    In my four years of working with Keras, I’ve realized that moving from traditional CNNs to Vision Transformers (ViT) is a massive shift. The most confusing part for many developers I mentor is how we actually turn a standard image into a sequence of tokens that a Transformer can understand. In this...