Skip to content

Instantly share code, notes, and snippets.

View juliansteam's full-sized avatar

Matimba Julian Nkuna juliansteam

View GitHub Profile
@juliansteam
juliansteam / understanding-word-vectors.ipynb
Created July 30, 2020 20:55 — forked from aparrish/understanding-word-vectors.ipynb
Understanding word vectors: A tutorial for "Reading and Writing Electronic Text," a class I teach at ITP. (Python 2.7) Code examples released under CC0 https://creativecommons.org/choose/zero/, other text released under CC BY 4.0 https://creativecommons.org/licenses/by/4.0/
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
# parameters
prices = [1.99, 2.49, 2.99, 3.49, 3.99, 4.49]
alpha_0 = 30.00 # parameter of the prior distribution
beta_0 = 1.00 # parameter of the prior distribution
# parameters of the true (unknown) demand model
true_slop = 50
true_intercept = -7
# prior distribution for each price
@juliansteam
juliansteam / premier_league_scraper.ipynb
Created December 19, 2019 07:15 — forked from zaeemnalla/premier_league_scraper.ipynb
A Premier League data extractor that creates a dataset of all match results and team stats
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@juliansteam
juliansteam / iterm2-solarized.md
Created June 12, 2019 07:44 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + Oh My Zsh + Solarized color scheme + Meslo powerline font + [Powerlevel9k] - (macOS)

Default

Default

Powerlevel9k

Powerlevel9k