How do I compute the fourier transform of switched cosine or right sided cosine? Recommendation Systems: How do I get the source code and dataset of collaborative filtering techniques using similarity (correlation-based/cosine based) computation between users and prediction (aggregation) formula's implemented either in Matlab or Python or PHP or R Language?