Skip to content

Instantly share code, notes, and snippets.

View matomatical's full-sized avatar
🐢
The unexamined life is not to be lived.

Matthew Farrugia-Roberts matomatical

🐢
The unexamined life is not to be lived.
View GitHub Profile
"""
Extract the contents of a `run-{id}.wandb` database file.
These database files are stored in a custom binary format. Namely, the database
is a sequence of wandb 'records' (each representing a logging event of some
type, including compute stats, program outputs, experimental metrics, wandb
telemetry, and various other things). Within these records, some data values
are encoded with json. Each record is encoded with protobuf and stored over one
or more blocks in a LevelDB log. The result is the binary .wandb database file.
@matomatical
matomatical / slots.rmd
Last active January 30, 2023 21:12
Efficiently scoring slot machine outcomes for *Hands-On Programming With R*, part III
---
title: Profiling score-calculation methods
author: Matthew Farrugia-Roberts (@matomatical)
---
```{r setup, include=FALSE}
options(width = 100L)
```
Generating the symbols (batch)