# D4S Sunday Briefing #112

Issue #112 of the Data Science Briefing, the weekly newsletter of Data For Science, July 18, 2021. Published at https://data4sci.com/newsletter/data-science-briefing-112

Dear friends,\
Welcome to the 112th issue of the Sunday Briefing.

You can check out the latest post of "[Visualization for Science](https://viz4sci.substack.com/)" substack: [3D Plot](https://viz4sci.substack.com/p/3d-plot) so check it out and don't forget to [Subscribe](https://viz4sci.substack.com/subscribe) to V4Sci so you never miss a post!

In the latest post at G4Sci: [Network Motifs: Frequent patterns in Graphs](https://graphs4sci.substack.com/p/network-motifs) where we introduce the ESU algorithm for exhaustive enumeration of all subgraphs of a given size. You should [Subscribe](https://graphs4sci.substack.com/subscribe) to G4Sci to make sure you never miss a post!

Over at Medium, [Competing CoVID-19 Strains](https://medium.com/data-for-science/epidemiology-105-competing-strains-4431f61549ff) is the most recent post on the Epidemiology series and [Mediation](https://medium.com/data-for-science/causal-inference-part-xv-mediation-26a20212adc9) is the latest for the Causality series while we continue to work on the particularly long section 3.8 of the [Primer](https://amzn.to/3gsFlkO). Finally, As always you can find the code in the [Epidemiology](https://github.com/DataForScience/Epidemiology101) and [Causality](http://github.com/DataForScience/Causality) GitHub repos, respectively.

Our next webinar on [Transforming Excel Analysis into Python and pandas Data Models](https://learning.oreilly.com/attend/transforming-excel-analysis-into-python-and-pandas-data-models/0636920448181/0636920058355/), coming up on July 26th. In this webinar we will show you how to integrate Excel in your Python workflow so that you can easily extract data from Excel worksheets and export the output of your Python analyses as fully formatted Excel workbooks. If that's sounds interesting, don't forget to [Register](https://learning.oreilly.com/attend/transforming-excel-analysis-into-python-and-pandas-data-models/0636920448181/0636920058355/)!

This week we consider[ what are Diffusion Models](https://lilianweng.github.io/lil-log/2021/07/11/diffusion-models.html), explore [gaussian processes from scratch](https://peterroelants.github.io/posts/gaussian-process-tutorial/), [Python for Excel](https://www.xlwings.org/) and [how to calculate the alignment between BERT and spaCy tokens effectively and robustly](https://gist.github.com/tamuhey/af6cbb44a703423556c32798e1e1b704).

From the halls of academia, we have an analysis of the connections between [Consciousness and the Laws of Physics](https://philpapers.org/rec/CARCAT-31), the [stability of traffic breakup patterns in urban networks](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.104.L012301) and [the Causal-Neural Connection](https://arxiv.org/abs/2107.00793).

Finally, this weeks '**Data Science Book** ' highlight is "[Think Bayes (2nd Ed)](https://amzn.to/3hd2hqm)" by Allen Downey and, as always you can find **all the previous book recommendations** on our [website](https://data4sci.com/book-reviews). In the video of the week we have a [Plotly tutorial](https://www.youtube.com/watch?v=GGL6U0k8WYA). And the video of the week is [Data Visualization And Exploration with Pyton](https://www.youtube.com/watch?v=KvZ2KSxlWBY).

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, just go ahead and forward this email to them. This will help us spread the word!

*Semper discentes,*

The D4S Team

## Book of the week

[Think Bayes (2nd Ed)](https://amzn.to/3wP0jlG)

This weeks Data Science Book is "Think Bayes (2nd Ed)" by Allen B. Downey. While Bayesian Statistics is a powerful tool in the toolbox of any Data Scientists, it is not the easiest of skills to learn if you are not mathematically inclined. In this book, Downey uses his down to earth, step by step style to make you proficient in the world of Bayesian Statistics by leveraging your pre-existing knowledge of Python instead of relying excessively on mathematical notation as most other books do. The book comes with a complete up-to-date GitHub repository so that you can more easily work your way through the example and cement your understanding of this important topic.

## Links of the week

1. [Gaussian processes - From scratch](https://peterroelants.github.io/posts/gaussian-process-tutorial/) (peterroelants.github.io)
2. [The Computer Scientist Training AI to Think With Analogies](https://www.quantamagazine.org/melanie-mitchell-trains-ai-to-think-with-analogies-20210714/) (quantamagazine.org)
3. [Python for Excel](https://www.xlwings.org/) (xlwings.org)
4. [How to calculate the alignment between BERT and spaCy tokens effectively and robustly](https://gist.github.com/tamuhey/af6cbb44a703423556c32798e1e1b704) (gist.github.com/tamuhey)
5. [What are Diffusion Models?](https://lilianweng.github.io/lil-log/2021/07/11/diffusion-models.html) (lilianweng.github.io)
6. [Machine-learning improves the prediction of stroke recovery](https://actu.epfl.ch/news/machine-learning-improves-the-prediction-of-stroke/) (actu.epfl.ch)
7. [Inserting One Billion Rows in SQLite Under A Minute](https://avi.im/blag/2021/fast-sqlite-inserts/) (avi.im)

## Papers of the week

- [Consciousness and the Laws of Physics](https://philpapers.org/rec/CARCAT-31), S. M. Carroll
- [To build resilience, study complex systems](https://www.nature.com/articles/d41586-021-01925-9), L. Fisher
- [Storywrangler: A massive exploratorium for sociolinguistic, cultural, socioeconomic, and political timelines using Twitter](https://advances.sciencemag.org/content/7/29/eabe6534), T. Alshaabi, J. L. Adams, M. V. Arnold, J. R. Minot, D. R. Dewhurst, A. J. Reagan, C. M. Danforth, P. S. Dodds
- [Stability of traffic breakup patterns in urban networks](https://journals.aps.org/pre/abstract/10.1103/PhysRevE.104.L012301), M. Cogoni, G. Busonera
- [Auditing Wikipedia's Hyperlinks Network on Polarizing Topics](https://arxiv.org/abs/2007.08197), C. Menghini, A. Anagnostopoulos, E. Upfal
- [The Bayesian Learning Rule](https://arxiv.org/abs/2107.04562), M. E. Khan, H. Rue
- [The Causal-Neural Connection: Expressiveness, Learnability, and Inference](https://arxiv.org/abs/2107.00793), K. Xia, K.-Z. Lee, Y. Bengio, E. Bareinboim
- [A model-agnostic hypothesis test for community structure and homophily in networks](https://arxiv.org/abs/2107.06093), E. Yanchenko, S. Sengupta

## Video of the week

[Data Visualization and Exploration with Python](https://www.youtube.com/watch?v=KvZ2KSxlWBY)
