added content: learning MRF parameters
added content: K nearest neighbors