Tag Archives: machine learning

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

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