<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Tejas Kale's Blog</title><link>https://tejas-kale.github.io/blog/</link><description>Recent content on Tejas Kale's Blog</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Sat, 26 Sep 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://tejas-kale.github.io/blog/index.xml" rel="self" type="application/rss+xml"/><item><title>Making a Total Football video with GPT-6 Sol</title><link>https://tejas-kale.github.io/blog/posts/total-football-using-sol/</link><pubDate>Sat, 26 Sep 2026 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/total-football-using-sol/</guid><description>&lt;p&gt;Earlier today, my brother shared a &lt;a href="https://www.reddit.com/r/ClaudeAI/comments/1wogab3/made_entirely_with_opus_55_321_of_openrouter_api/"&gt;Reddit post&lt;/a&gt; in which Opus 5.5 created a minute-long animated video about the meaning of life with OpenRouter models. The video is fun and well-made, if light on detail. It inspired me to create a video of my own with GPT-6 Sol (a model similar to Opus), because I have a paid ChatGPT Plus subscription rather than Claude.&lt;/p&gt;&#10;&lt;p&gt;Having recently finished listening to a &lt;a href="https://shows.acast.com/it-was-what-it-was/episodes/total-football-where-did-the-revolution-really-begin-part-on"&gt;four-part podcast series on Total Football&lt;/a&gt;, I chose it as the subject of my video. To help ensure accuracy, I provided the podcast transcripts as reference material to the model.&lt;/p&gt;</description></item><item><title>Data Science Jobs and the AI boom</title><link>https://tejas-kale.github.io/blog/posts/data_scientist_employment/</link><pubDate>Sun, 20 Sep 2026 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/data_scientist_employment/</guid><description>&lt;p&gt;While reading an article on The Economist arguing that &lt;a href="https://www.economist.com/finance-and-economics/2026/09/04/the-jobs-apocalypse-is-postponed-an-ai-jobs-boom-is-here"&gt;AI has increased overall employment&lt;/a&gt;, the following chart caught my attention. It shows the change in employment in select professions in the US between 2023 and 2025. These professions were chosen as they have been hypothesised to be ripe for disruption with the arrival of agentic AI applications. I had two questions pop up in my head: (1) how exactly is the data compiled and (2) does the 2023-25 window create an arbitrary effect for some professions?&lt;/p&gt;</description></item><item><title>How many colours are in each flag?</title><link>https://tejas-kale.github.io/blog/posts/flag_colours/</link><pubDate>Sun, 13 Sep 2026 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/flag_colours/</guid><description>&lt;p&gt;A fun question popped into my head the other day: how many colours are in each flag of a country? To answer it, I thought using LLMs would be a good choice.&lt;/p&gt;&#10;&lt;p&gt;So, with the use of &lt;a href="https://github.com/tejas-kale/blog/blob/main/notebooks/flag_colours/flag_colours.Rmd"&gt;R&lt;/a&gt; and the &lt;code&gt;tidyverse&lt;/code&gt; libraries, I first fetched a list of countries from Wikipedia and then their flags from Wikimedia. Next, using the &lt;code&gt;ellmer&lt;/code&gt; library, I asked Gemini 3.5 Flash Lite (via the OpenRouter API) to count and name the colours in each flag. I then used the Qwen3-VL-235B-A22B-Instruct and Gemini 3.6 Flash models to judge the Lite model&amp;rsquo;s work. These models are larger than the Lite one so I expected them to be better judges. I checked their disagreements manually. The Qwen model is nearly a year older than the Lite model so its size advantage might be negated by its age.&lt;/p&gt;</description></item><item><title>Diving into Germany's Sickness Statistics</title><link>https://tejas-kale.github.io/blog/posts/germany_sick_leaves/</link><pubDate>Wed, 02 Sep 2026 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/germany_sick_leaves/</guid><description>&lt;p&gt;BBC More or Less’s recent &lt;a href="https://www.bbc.co.uk/sounds/play/w3ct9995"&gt;podcast episode&lt;/a&gt; on the statistic that employees in Germany take roughly 19.5 days of sick leave every year was interesting. It explained that the number comes from the statutory insurer DAK’s &lt;a href="https://www.dak.de/dak/unternehmen/reporte-forschung/gesundheitsreport-2026_223108"&gt;report&lt;/a&gt;, which counts all calendar days, including weekends, and excludes leave taken for a child’s illness and maternity leave. Given that Germany has 93 statutory health insurers, and that an expert in the episode claimed that the average was skewed by a handful of long-term absences, I wanted to answer two questions:&lt;/p&gt;</description></item><item><title>Squad players, not the XI</title><link>https://tejas-kale.github.io/blog/posts/squad-player-churn/</link><pubDate>Fri, 21 Aug 2026 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/squad-player-churn/</guid><description>&lt;p&gt;The old saying of don’t fix something which isn’t broken does not apply to champions in football. Clubs around the world, but especially in Europe, are always looking to bolster their squad. While the starters of a club’s title-winning season usually keep their place, it is often the “squad players” a club wants to upgrade.&lt;/p&gt;&#10;&lt;p&gt;In this analysis of Premier League champions since 2004–05, I define players with more than five appearances but fewer than 20 starts as squad players. The starting season is chosen because it is the first combining José Mourinho’s arrival at Chelsea with the club’s spending spree, widely regarded as having altered the transfer market for good. That definition has two reasons behind it: a player earns a medal only if he makes at least five appearances, and in a 38-game season only the starters would be expected to play more than half the games.&lt;/p&gt;</description></item><item><title>Creating Data Visualisations with ReportLab</title><link>https://tejas-kale.github.io/blog/posts/plotting_with_reportlab/</link><pubDate>Sat, 28 Mar 2026 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/plotting_with_reportlab/</guid><description>&lt;p&gt;At work, I have to generate hundreds of PDFs every two weeks with each file containing about 50 pages. Each page consists of a single stacked bar chart along with annotations. When the module to render these bar charts was written, the library of choice was Plotly, which allowed us to interact with the plots and understand and debug them effectively.&lt;/p&gt;&#10;&lt;p&gt;While the package was ideal during the exploration and research phase of the project, continuing with it as we approached production turned out to be the wrong trade-off. Generating each PDF took about 3 minutes, which meant that an entire day had to be devoted to generating the PDFs to keep up with the schedule.&lt;/p&gt;</description></item><item><title>Logistic Regression with MLX</title><link>https://tejas-kale.github.io/blog/posts/logistic_regression_with_mlx/</link><pubDate>Tue, 23 Sep 2025 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/logistic_regression_with_mlx/</guid><description>&lt;p&gt;The M1 MacBook Air, though not powerful, contains 8 CPU cores and 7-8 GPU cores. These processing units share a unified memory. In order to use the GPUs for training machine learning and deep learning models, one needs to use the &lt;a href="https://opensource.apple.com/projects/mlx/"&gt;MLX&lt;/a&gt; framework. As quoted on the website:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;p&gt;MLX is an array framework designed for efficient and flexible machine learning research on Apple silicon.&lt;/p&gt;&#10;&lt;/blockquote&gt;&#10;&lt;p&gt;In this post, we will build a logistic regression model as a neural network using MLX. It will be trained on a &lt;a href="https://www.kaggle.com/datasets/mohamedabdalkader/retinal-disease-detection/data"&gt;retinopathy&lt;/a&gt; dataset available on Kaggle. The code in this notebook is inspired from &lt;a href="https://www.youtube.com/watch?v=DzE0eSdy5Hk"&gt;lecture 8&lt;/a&gt; of Jeremy Howard&amp;rsquo;s course, Introduction to Machine Learning for Coders.&lt;/p&gt;</description></item><item><title>Choosing between Dictionary Lookup and Join in PySpark</title><link>https://tejas-kale.github.io/blog/posts/lookup_vs_join/</link><pubDate>Sun, 21 Sep 2025 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/lookup_vs_join/</guid><description>&lt;p&gt;Consider that I have data on budget allocation to eight departments in 1000 hospitals across 30 days. I&amp;rsquo;m working in PySpark and want to add a new column to the data: if the department is one of &lt;code&gt;[&amp;quot;emergency&amp;quot;, &amp;quot;cardiology&amp;quot;, &amp;quot;surgery&amp;quot;]&lt;/code&gt;, the column value should be &lt;code&gt;&amp;quot;critical_care&amp;quot;&lt;/code&gt; and &lt;code&gt;&amp;quot;other&amp;quot;&lt;/code&gt; otherwise. To create this column, my first instinct was to create a new dataframe containing this mapping between departments and the class (&lt;code&gt;critical_care&lt;/code&gt; or &lt;code&gt;other&lt;/code&gt;) and join it with the existing dataframe. But I learnt today that for small lookups, it is faster to perform a dictionary lookup in PySpark instead.&lt;/p&gt;</description></item><item><title>About</title><link>https://tejas-kale.github.io/blog/about/</link><pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/about/</guid><description>&lt;p&gt;Hi, I&amp;rsquo;m Tejas Kale and welcome to my blog! I&amp;rsquo;m a data scientist currently residing in Berlin, Germany. I have over 11 years of experience building machine learning systems across different industries. Regardless, I learn something new every day and this blog is an attempt to document them. My current interests include usage and applications of LLMs, economic effects of LLMs on work and society, demand forecasting (especially labour demand in the context of retail supermarkets), and statistical experimentation.&lt;/p&gt;</description></item><item><title>Set Up VibeVoice on Google Colab</title><link>https://tejas-kale.github.io/blog/posts/vibevoice_on_colab/</link><pubDate>Thu, 18 Sep 2025 00:00:00 +0000</pubDate><guid>https://tejas-kale.github.io/blog/posts/vibevoice_on_colab/</guid><description>&lt;p&gt;On August 26, 2025, Microsoft released &lt;a href="https://microsoft.github.io/VibeVoice/"&gt;VibeVoice&lt;/a&gt;, a Python framework and underlying model to convert text into speech. The following is a collection of its novel features as highlighted on their website:&lt;/p&gt;&#10;&lt;blockquote&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;VibeVoice is a novel framework designed for generating expressive, long-form, multi-speaker conversational audio, such as podcasts, from text.&lt;/li&gt;&#10;&lt;li&gt;The model can synthesize speech up to 90 minutes long with up to 4 distinct speakers, surpassing the typical 1-2 speaker limits of many prior models.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;/blockquote&gt;&#10;&lt;h2 id="failed-attempts"&gt;Failed attempts&lt;/h2&gt;&#10;&lt;p&gt;I first checked out the repository and attempted to run&lt;a href="https://github.com/tejas-kale/VibeVoice/blob/main/demo/inference_from_file.py"&gt;inference_from_file.py&lt;/a&gt; on my M1 MacBook Air. Since the script assumes CUDA to be installed, execution failed.&lt;/p&gt;</description></item></channel></rss>