Find
Connect

Recent Posts
Tags
 anchor graph hashing
 applescript
 assembly
 bar charts
 bash
 bezier curves
 conway's game of life
 data visualization
 diffbot
 echo
 factorization machines
 finder
 generative art
 google chrome
 google images
 hacker news
 image color quantization
 javascript
 kmeans clustering
 linux
 locality sensitive hashing
 machine learning
 math
 matrix factorization
 neural networks
 neural style transfer
 nlp
 os x
 pastiche
 photography
 printenv
 probability
 programming
 python
 references
 regressions
 ssh
 statistics
 summarization
 sysadmin
 theano
 unix
 vim
 webwork
 youtube
Archives
License Details
 Blog posts are licensed under a Creative Commons AttributionShareAlike 3.0 Unported License, unless otherwise noted.
 Some blog posts, such as those that serve to express my opinion on some matter, may be covered by a more restrictive license (e.g., a license that grants permission to copy and distribute the content verbatim). When this is the case, details will be appended to the post.
 If you have any questions, please .
 Blog posts are licensed under a Creative Commons AttributionShareAlike 3.0 Unported License, unless otherwise noted.
Tag Archives: machine learning
Compressing VGG for Style Transfer
I recently implemented pastiche—discussed in a prior post—for applying neural style transfer. I encountered a size limit when uploading the library to PyPI, as a package cannot exceed 60MB. The 32bit floating point weights for the underlying VGG model [1] … Continue reading
kmeans1d: Globally Optimal Efficient 1D kmeans Clustering
I implemented kmeans1d, a Python library for performing kmeans clustering on 1D data, based on the algorithm in (Xiaolin 1991), as presented in section 2.2 of (Grønlund et al., 2017). Globally optimal kmeans clustering is NPhard for multidimensional data. LLoyd’s … Continue reading
kmeans Image Color Quantization
I implemented a web page that can apply color quantization to images using kmeans clustering. Here’s the link: https://dstein64.github.io/kmeansquantizationjs/ The JavaScript source code is available on GitHub: https://github.com/dstein64/kmeansquantizationjs
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
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 lowrank approximation of D. While singular value decomposition (SVD) can also be … Continue reading