Download a YouTube video from the command line with youtube-dl
2020-02-15
You can use youtube-dl to download arbitrary YouTube videos from the command line. This is useful for doing machine learning on new videos.
Machine learning pipelines should be Python packages: Transfer learning
2019-04-07
Building machine learning pipelines as well-formed Python packages simplifies transfer learning. Here's a simple example.
Object spread operator for Python
2019-03-17
The object spread operator is a useful pattern in JavaScript. You can do something similar in Python.
Source code layout for machine learning pipelines
2019-03-12
How you structure code in an ML pipeline makes a big difference in whether other people can easily use it. Here's a recommendation for how to do it well.
Changing the Python Version in Conda
2017-03-09
The latest version of Anaconda comes with Python 3.7. But sometimes you need to use an earlier release.
Adding a dimension to a tensor in PyTorch
2017-03-09
Adding a dimension to a tensor can be important when you're building deep learning models.
Sending a text message with AWS SNS
2017-03-02
SNS is AWS's pub-sub service. It's useful for sending and receiving alerts for events you care about. It can also be used to send SMS messages.