# Data Science Briefing #257

Issue #257 of the Data Science Briefing, the weekly newsletter of Data For Science, September 25, 2024. Published at https://data4sci.com/newsletter/data-science-briefing-257

Welcome to the 257th edition of the Data Science Briefing!

The next edition of the [LangChain for Generative AI Pipelines](https://data4sci.com/langchain) webinar is on September 25th. There are only a few spots left, so [Register](https://learning.oreilly.com/live-events/langchain-for-generative-ai-pipelines/0642572002267/) now!

The most recent post on the Epidemiology series, [Epidemiology 303: Metapopulation Models](https://data4sci.substack.com/p/meta-population-models), explores how to connect multiple populations through a travel matrix. In the graph subsection, you'll find all you need to know about [k-core Decomposition](https://data4sci.substack.com/p/k-core-decomposition), while in the Visualization section, you can explore [The Effects of Vaccination](https://data4sci.substack.com/p/the-effect-of-vaccines) through a WSJ visualization.

In our regularly scheduled content, we dive into [The Pragmatic Programmer for Machine Learning](https://ppml.dev/), learn how [Andrey Markov & Claude Shannon Counted Letters to Build the First Language-Generation Models](https://spectrum.ieee.org/andrey-markov-and-claude-shannon-built-the-first-language-generation-models), [How ‘Embeddings’ Encode What Words Mean](https://www.quantamagazine.org/how-embeddings-encode-what-words-mean-sort-of-20240918/), and explore[The Math Behind Kernel Density Estimation](https://towardsdatascience.com/the-math-behind-kernel-density-estimation-5deca75cba38).

On the academic front, we [Train Language Models to Self-Correct via Reinforcement Learning](https://arxiv.org/abs/2409.12917), explore [Complexity and entropy of natural patterns](https://academic.oup.com/pnasnexus/advance-article/doi/10.1093/pnasnexus/pgae417/7761138), and dive into a [Primer on the Inner Workings of Transformer-based Language Models](https://arxiv.org/abs/2405.00208).

This week's book recommendation is "[Why Machines Learn: The Elegant Math Behind Modern AI](https://amzn.to/4gr6a7N)" by A. Ananthaswamy. You can find **all the previous book recommendations** on our [website](https://data4sci.com/book-reviews). In this week's video, we have a quick overview of [How to Read Deep Learning Papers as a Software Engineer](https://www.youtube.com/watch?v=nL7lAo95D-o).

Data shows that the best way for a newsletter to grow is by word of mouth, so if you think one of your friends or colleagues would enjoy this newsletter, go ahead and forward this email to them. This will help us spread the word!

*Semper discentes,*

The D4S Team

## Book of the week

[Why Machines Learn: The Elegant Math Behind Modern AI](https://amzn.to/4gr6a7N)

This week's book is "[Why Machines Learn: The Elegant Math Behind Modern AI](https://amzn.to/4gr6a7N)" by A. Ananthaswamy. The book introduces the main ideas and developments of Artificial Intelligence clearly and concisely. Starting with the invention of the Perceptron in the 50s, through all the significant developments of the last several decades, such as Support Vector Machines, Hopfield Networks, and Backpropagation, to the latest developments in Large Language Models. Ananthaswamy explains how they fit in the historical development of Computer Science and AI, as well as how they connect to insights originating in biology and psychology.

The book targets a general audience familiar with basic math. Mathematical concepts such as probability and linear algebra are introduced in an intuitive way that provides just enough detail to understand the more technical parts of the text. Overall, a great resource whether your reviewing these concepts or encountering them for the first time.

## Links of the week

1. [The Pragmatic Programmer for Machine Learning](https://ppml.dev/) (ppml.dev)
2. [Andrey Markov & Claude Shannon Counted Letters to Build the First Language-Generation Models](https://spectrum.ieee.org/andrey-markov-and-claude-shannon-built-the-first-language-generation-models) (spectrum.ieee.org)
3. [How ‘Embeddings’ Encode What Words Mean — Sort Of](https://www.quantamagazine.org/how-embeddings-encode-what-words-mean-sort-of-20240918/) (quantamagazine.org)
4. [Python in Excel – Available Now](https://techcommunity.microsoft.com/t5/excel-blog/python-in-excel-available-now/ba-p/4240212) (techcommunity.microsoft.com)
5. [25 Amazing Python Tricks That Will Instantly Improve Your Code](https://medium.com/pythoneers/25-amazing-python-tricks-that-will-instantly-improve-your-code-8bfefbd62f2f) (medium.com/pythoneers)
6. [ICML 2024 Top Papers : What’s New in Machine Learning?](https://blog.cubed.run/icml-2024-top-papers-whats-new-in-machine-learning-cca7f9a953e3) (blog.cubed.run)
7. [The Math Behind Kernel Density Estimation](https://towardsdatascience.com/the-math-behind-kernel-density-estimation-5deca75cba38) (towardsdatascience.com)

## Papers of the week

- [Complexity and entropy of natural patterns](https://academic.oup.com/pnasnexus/advance-article/doi/10.1093/pnasnexus/pgae417/7761138), H. Wang, C. Song, P. Gao
- [Replay shapes abstract cognitive maps for efficient social navigation](https://www.nature.com/articles/s41562-024-01990-w), J.-Y. Son, M.-L. Vives, A. Bhandari, O. FeldmanHall
- [Durably reducing conspiracy beliefs through dialogues with AI](https://www.science.org/doi/10.1126/science.adq1814), T. H. Costello, G. Pennycook, D. G. Rand
- [Training Language Models to Self-Correct via Reinforcement Learning](https://arxiv.org/abs/2409.12917), A. Kumar, V. Zhuang, R. Agarwal, Y. Su, J. D. Co-Reyes, A. Singh, K. Baumli, S. Iqbal, C. Bishop, R. Roelofs, L. M. Zhang, K. McKinney, D. Shrivastava, C. Paduraru, G. Tucker, D. Precup, F. Behbahani, A. Faust
- [Schrodinger's Memory: Large Language Models](https://arxiv.org/abs/2409.10482), W. Wang, Q. Li
- [A Primer on the Inner Workings of Transformer-based Language Models](https://arxiv.org/abs/2405.00208), J. Ferrando, G. Sarti, A. Bisazza, M. R. Costa-jussà
- [Chain of Thought Empowers Transformers to Solve Inherently Serial Problems](https://arxiv.org/abs/2402.12875), Z. Li, H. Liu, D. Zhou, T. Ma

## Video of the week

[How to Read Deep Learning Papers as a Software Engineer](https://www.youtube.com/watch?v=nL7lAo95D-o)
