Tag Archives: python

Style Transfer Medley

I used the pastiche style transfer program—discussed in a prior post—to create the video shown above. The content image is a photo I took in Boston in 2015, and the style images were randomly sampled from the test images of … Continue reading

Tagged , , , | Leave a comment

🎨 pastiche

pastiche A literary, artistic, musical, or architectural work that imitates the style of previous work. ―Merriam-Webster dictionary I recently implemented pastiche, a PyTorch-based Python program for applying neural style transfer [1]. Given a content image C and a style image … Continue reading

Tagged , , , , | Leave a comment

🔐 LC4

About a year ago I wrote a Python library that implements ElsieFour (LC4) encryption (Alan Kaminsky 2017). LC4 is designed for human-to-human communication, without requiring a computer. I’ve recently updated the library to include color-coded verbose output that shows the … Continue reading

Tagged , , | Leave a comment

⌨️🏌️🐍 vimgolf Client in Python

I implemented a vimgolf client in Python. The source code is available on GitHub:https://github.com/dstein64/vimgolf The user interface is similar to the official vimgolf client, with a few additions inspired by vimgolf-finder. The package is available on PyPI, the Python Package Index. … Continue reading

Tagged , , | Leave a comment

Factorization Machines with Theano

Update 11/4/2019: The github repo was renamed from PyFactorizationMachines to pyfms. Update 4/20/2017: The library is now available on PyPI, the Python Package Index. It can be installed with pip. $ pip install pyfms A Factorization Machine (FM) is a predictive model that … Continue reading

Tagged , , , | Leave a comment

Matrix Factorization with Theano

Matrix factorization algorithms factorize a matrix D into two matrices P and Q, such that D ≈ PQ. By limiting the dimensionality of P and Q, PQ provides a low-rank approximation of D. While singular value decomposition (SVD) can also be … Continue reading

Tagged , , , | Leave a comment

Anchor Graph Hashing in Python

Update 11/7/2019: The github repo was renamed from PyAnchorGraphHasher to aghasher. The library is now available on PyPI, the Python Package Index. It can be installed with pip. $ pip install aghasher I was recently collaborating on a project that relied on … Continue reading

Tagged , , | Leave a comment