Author Archives: Daniel

More Bézier Walks in Neural Networks

The videos above were generated using the same script described in an earlier post.

Tagged , , | Leave a comment

Random Bézier Walk in a Random Neural Network

The video above was generated using neuralart.

Tagged , , | Leave a comment

Neural Art

neuralart is a Python library and utility for rendering generative art from a randomly initialized neural network. It’s based on the following blog posts and pages from studio otoro. Neural Network Generative Art in Javascript Generating Abstract Patterns with TensorFlow Neurogram … Continue reading

Tagged , | Leave a comment

echo and printenv in x86 Assembly

This post contains implementations of echo and printenv in 32-bit x86 assembly for Linux. echo is a Unix utility that prints its arguments to standard output. printenv is a Unix utility that prints the environment to standard output. The core … Continue reading

Tagged , , , , | Leave a comment

k-means Image Color Quantization

I implemented a web page that can apply color quantization to images using k-means clustering. Here’s the link: https://dstein64.github.io/k-means-quantization-js/ The JavaScript source code is available on GitHub: https://github.com/dstein64/k-means-quantization-js

Tagged , , , , | Leave a comment

Factorization Machines with Theano

A Factorization Machine (FM) is a predictive model that can be used for regression and classification (Rendle 2010). FMs efficiently incorporate pairwise interactions by using factorized parameters. PyFactorizationMachines is a Theano-based Python implementation of factorization machines. Update 4/20/2017: The library is now … Continue reading

Tagged , , , | Leave a comment

Conway’s Game of Life

Here’s a quick-and-dirty implementation of Conway’s Game of Life. Cells can be selected/deselected by clicking and dragging your mouse. The interface and display were designed for use with a desktop/laptop computer, not a touchscreen mobile device. That is, cells can’t be … 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

Article Highlighter

Auto Highlight is a Chrome extension that automatically highlights the important content on article pages. Here’s a link to the extension: https://chrome.google.com/webstore/detail/highlight/dnkdpcbijfnmekbkchfjapfneigjomhh The source code is on GitHub: https://github.com/dstein64/highlight After installing the extension, a highlighter icon appears in the location … Continue reading

Tagged , , | Leave a comment

Anchor Graph Hashing in Python

I was recently collaborating on a project that relied on hashing (where I’m referring to “hashing” the same way it’s used in locality sensitive hashing, as opposed to its more conventional usage). One of my contributions was an implementation of Anchor … Continue reading

Tagged , , | Leave a comment