Timo Denk's Blog

Science, Programming, 3D-Printing, Music, Philosophy, and More…

Tag: Math

Theory PDG Notes: MLE, MAP, Conjugate Prior, Integrating over Parameters, Tractability, Bayesian, and Probability Theory

There are several terms in probability theory which keep popping up in our machine learning paper discussion. Michael Hefenbrock and I sat down to get a hang of what exactly is behind a few of these terms. This blog contains […]

July 17, 2022by Timo Denk

Exporting Matplotlib Plots to LaTeX

This blog post explains how plots from matplotlib can be exported to PGF files, which in turn can be imported into $\LaTeX$ documents. All figures in this post are links that point to the source code used to generate them. […]

August 12, 2019August 12, 2019by Timo Denk

Simulating a Coin Toss with Arbitrary Bias Using Another Coin of Unknown Bias

Back in January this year I was commuting to work and routinely opened the daily coding problem email: “Good morning! Here’s your coding interview problem for today. […] Assume you have access to a function toss_biased() which returns 0 or 1 with […]

June 17, 2019June 15, 2019by Timo Denk

Polynomial-time Approximation Schemes (PTAS)

During the 6th semester of my BSc studies I have chosen to attend a seminar on Theoretical Computer Science. My task was to present the topic “polynomial-time approximation schemes” to the others. In this article I am sharing the work. […]

April 12, 2019April 12, 2019by Timo Denk

Matrix Types Cheat Sheet

In the field of linear algebra there are variety of different matrix types. Each has its own definition and relevance. I had trouble finding a good overview online and thought I’d compile a list myself: This article lists a selection […]

February 24, 2019July 30, 2020by Timo Denk

Linear Relationships in the Transformer’s Positional Encoding

In June 2017, Vaswani et al. published the paper “Attention Is All You Need” describing the “Transformer” architecture, which is a purely attention based sequence to sequence model. It can be applied to many tasks, such as language translation and text […]

January 22, 2019January 22, 2019by Timo Denk

Notes on “Haskell Programming – from first principles”

From November, 13th 2017 to June, 9th 2018, a friend and I were working our way through the 1285 pages of “Haskell Programming – from first principles” by Christopher Allen and Julie Moronuki. That’s more than six pages per day! While reading […]

August 9, 2018August 4, 2018by Timo Denk

Poker Heads-Up Pre-Flop Odds

In this article we define and publish the exact pre-flop probabilities for each possible combination of two hands in Textas Hold’em poker. An online tool at tools.timodenk.com/poker-odds-pre-flop makes the data visually accessible.

June 21, 2018July 3, 2020by Timo Denk

LaTeX Plot Snippets

The LaTeX package tikz contains a set of commands that can render vector based graphs and plots. This post contains several examples which are intended to be used as a cut-and-paste boilerplate. Each sample comes with a screenshot and a […]

February 22, 2018February 24, 2018by Timo Denk

TeX Math to Image Conversion

This post functions as a quick development update on the Math to Image Conversion Bot (on Telegram), the TeX math to image conversion tool (at tools.timodenk.com), and the API that serves them both. The objective is to convert TeX math-code into images.

November 25, 2017November 24, 2017by Timo Denk

Posts navigation

1 2

Find posts

About

Hi there! This blog is run by me, Timo. I am a Software Engineer living in Zürich, Switzerland. Please visit my portfolio website for more detailed information.

Editor’s choice

If you just came here and do not know where to go, I recommend looking into these posts:

  • Digit Span Test (most viewed)
  • Cubic Spline Interpolation (math-heavy)
  • Commute Time Tracking (nice read)
  • Linear Relationships in the Transformer’s Positional Encoding (machine learning)
  • Corsairs3D (pirate game – arrr!)

Archive

The archive page of this blog lists all posts in chronological order.

Email Newsletter

There is an email newsletter available. Once signed up, you will receive an email every time a new post is published. That is usually about once or twice a month.

Tags

3D 3D printing Arduino Art Blender Book C++ Car Computer Science Conference Convolutional network Deep learning DenkDevelopment Ender 3 Pro Graph Hardware Haskell Historic History JavaScript Library Low-level Machine learning Math Microcontroller Miniature Modeling Music Neural network Node.js Painting Paper Philosophy Physics Piano Poker Programming Raspberry Pi SAP Science Space Telegram Telegram bot Test Tools

Navigation

Home · Contact · Legal
Proudly powered by WordPress | Theme: Sin by vsFish.

Cookies

This site uses cookies. More