This is the source code to go along with the blog article
Clustering Text with Transformed Document Vectors
numpy
image
matplotlib
python ./transform.py b a
1. b: A stretching factor
2. a: A rotaton factor
The points in [x,y] space are transformed to [x',y'] space with: