Jessica Yung Navigation
  • Home
  • About
    • What I’m doing now
    • GitHub
  • Projects
    • Hello Motions
    • How I’ve been learning to code
    • Machine Learning Nanodegree
    • Maths Resources
    • Tools
  • Blog
  • Contact
  • Home
  • About
    • What I’m doing now
    • GitHub
  • Projects
    • Hello Motions
    • How I’ve been learning to code
    • Machine Learning Nanodegree
    • Maths Resources
    • Tools
  • Blog
  • Contact

Post Archive by Month

Archives

Python Lists vs Dictionaries: The space-time tradeoff

Jessica Yung03.2018Programming, PythonLeave a Comment

If you had to write a script to check whether a person had registered for an event, what Python data structure would you use? It turns out that looking up items in a Python dictionary is much faster than looking up items in a Python list. How much faster? Suppose you want to check if 1000 items (needles) are in … Read More

Top Posts

  • Automate running a script using crontab
  • LSTMs for Time Series in PyTorch
  • How to use pickle to save and load variables in Python
  • How to run scripts in the background
  • Python Lists vs Dictionaries: The space-time tradeoff
  • What makes Numpy Arrays Fast: Memory and Strides
  • Explaining Tensorflow Code for a Convolutional Neural Network
  • Using generators in Python to train machine learning models
  • MSE as Maximum Likelihood
  • Code, Explained: Training a model in TensorFlow

Recent Comments

  • Jessica Yung on Explaining Tensorflow Code for a Convolutional Neural Network
  • Jessica Yung on Self-Driving Car Engineer Nanodegree
  • KL Tah on Self-Driving Car Engineer Nanodegree
  • Jessica Yung on Self-Driving Car Engineer Nanodegree Term 1 Review
  • Jessica Yung on Self-Driving Car Engineer Nanodegree Term 1 Review

Archives

  • October 2018
  • September 2018
  • August 2018
  • June 2018
  • March 2018
  • January 2018
  • December 2017
  • October 2017
  • September 2017
  • June 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • May 2016
  • April 2016
  • March 2016
  • September 2015
  • July 2015
  • May 2015
  • January 2015
  • November 2014
  • March 2014
  • September 2013
  • December 2012
  • June 2012
  • February 2012
  • June 2010
  • March 2010
  • November 2009
  • October 2009

Categories

  • Artificial Intelligence
  • Careers
  • Data Science
  • Economics
  • Education
  • Engineering
  • Entrepreneurship
  • Highlights
  • Life
  • Machine Learning
  • Mathematics
  • Poetry
  • Poetry 2009
  • Poetry 2010
  • Programming
  • Python
  • Reflections
  • Self-Driving Car ND
  • Statistics
  • Studying
  • Talk Reviews
  • Technology Article Summaries
  • Uncategorized
  • Writing

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org