public static void main(String[] args) {
		// TODO Auto-generated method stub
		DataModel model = null;
		try {
			model = new FileDataModel(new File("/home/naren/projects/minhash/intro.csv"));
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		UserSimilarity similarity;
		try {
			similarity = new PearsonCorrelationSimilarity(model);
			UserNeighborhood neighborhood = new NearestNUserNeighborhood(2,
					similarity, model);
			Recommender recommender = new GenericUserBasedRecommender(model,
					neighborhood, similarity);
			List<RecommendedItem> recommendations = recommender.recommend(1, 1);
			for (RecommendedItem recommendation : recommendations) {
				System.out.println(recommendation);
			}

		} catch (TasteException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}