$ python MRMovies-solution.py --conf-path mrjob.conf -r emr /home/kwebb/public/cs91/lab1/large/movies.dat /home/kwebb/public/cs91/lab1/large/ratings.dat -m 'Almost Famous (2000)' -m 'Star Wars: Episode V - The Empire Strikes Back (1980)' -m 'Great Escape, The (1963)' -m 'Rocky (1976)' -m 'Pulp Fiction (1994)' > output (I used the default values for -l (0.4), -k (25), and -p (3).) $ cat output "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Star Wars: Episode IV - A New Hope (1977)", 0.8242732485206813, 0.6587547863846966, 0.9897917106566659, 2355] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Star Wars: Episode VI - Return of the Jedi (1983)", 0.8068968466653552, 0.6286159970763854, 0.985177696254325, 2228] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Raiders of the Lost Ark (1981)", 0.6965921580742269, 0.4099421726827077, 0.9832421434657461, 1999] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["It Came from Beneath the Sea (1955)", 0.6929523654994658, 0.4242166061843815, 0.9616881248145502, 44] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["To Be or Not to Be (1942)", 0.6852278448126443, 0.40181514131830726, 0.9686405483069814, 124] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Judy Berlin (1999)", 0.6800646611818583, 0.3852967794407613, 0.9748325429229552, 15] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Metroland (1997)", 0.678686423286112, 0.3770758418030926, 0.9802970047691313, 19] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Sanjuro (1962)", 0.6755917785021497, 0.3647677719045864, 0.9864157850997131, 59] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Boys of St. Vincent, The (1993)", 0.673241373723512, 0.3654339785746835, 0.9810487688723405, 20] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Whatever (1998)", 0.6732168314474982, 0.38531459426045156, 0.961119068634545, 32] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Girlfight (2000)", 0.6671992917680903, 0.3705532869177876, 0.9638452966183931, 73] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Cutter's Way (1981)", 0.6636465744029049, 0.3597956062079702, 0.9674975425978395, 33] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Batman: Mask of the Phantasm (1993)", 0.6628629687888644, 0.3603511302165128, 0.9653748073612161, 198] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Coldblooded (1995)", 0.6627838281979359, 0.34800690979793936, 0.9775607465979324, 13] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Two Girls and a Guy (1997)", 0.6617970991868509, 0.3699413121753451, 0.9536528861983566, 71] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Spiral Staircase, The (1946)", 0.6609961887926962, 0.3446930260406607, 0.9772993515447317, 31] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Rich and Strange (1932)", 0.6589153804172235, 0.33306830482939875, 0.9847624560050483, 9] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Secret Agent (1936)", 0.657495975824154, 0.34859726418458264, 0.9663946874637253, 16] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Message to Love: The Isle of Wight Festival (1996)", 0.6564274756530223, 0.3362044744996519, 0.9766504768063927, 7] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Abominable Snowman, The (1957)", 0.6554404961406914, 0.3272947680665882, 0.9835862242147948, 6] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Jude (1996)", 0.6552738574061236, 0.33307624651578494, 0.9774714682964625, 36] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Bamboozled (2000)", 0.6551053206427053, 0.3655280657310737, 0.944682575554337, 64] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Splendor (1999)", 0.6547329073827755, 0.36644555269489093, 0.9430202620706599, 20] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Star Wars: Episode I - The Phantom Menace (1999)", 0.6533157029232682, 0.3503596208785699, 0.9562717849679666, 1632] "Star Wars: Episode V - The Empire Strikes Back (1980)" ["Rain (1932)", 0.6519119209579747, 0.32573993476704816, 0.9780839071489013, 11] "Pulp Fiction (1994)" ["Reservoir Dogs (1992)", 0.7300363607408782, 0.48151339934107634, 0.97855932214068, 1028] "Pulp Fiction (1994)" ["Amateur (1994)", 0.7003626060048639, 0.42145095929422965, 0.9792742527154981, 39] "Pulp Fiction (1994)" ["Cement Garden, The (1993)", 0.6936805802734568, 0.40512662185708787, 0.9822345386898258, 15] "Pulp Fiction (1994)" ["He Walked by Night (1948)", 0.6799318897609681, 0.3942267762031146, 0.9656370033188215, 16] "Pulp Fiction (1994)" ["Once Upon a Time in the West (1969)", 0.6797023309463932, 0.3907607311555542, 0.9686439307372322, 112] "Pulp Fiction (1994)" ["Safe Men (1998)", 0.6778106900859371, 0.37741563251692845, 0.9782057476549457, 17] "Pulp Fiction (1994)" ["Marlene Dietrich: Shadow and Light (1996)", 0.6769304326682216, 0.3758628320885104, 0.9779980332479328, 8] "Pulp Fiction (1994)" ["Roadside Prophets (1992)", 0.6736161916800667, 0.36439626299996575, 0.9828361203601678, 11] "Pulp Fiction (1994)" ["Coldblooded (1995)", 0.6728406264219381, 0.36590203268178373, 0.9797792201620924, 12] "Pulp Fiction (1994)" ["Love Is the Devil (1998)", 0.6646793390986205, 0.3425626043966774, 0.9867960738005636, 6] "Pulp Fiction (1994)" ["Cutter's Way (1981)", 0.6637431761469454, 0.35004634368259346, 0.9774400086112974, 26] "Pulp Fiction (1994)" ["Killing, The (1956)", 0.6636415089508219, 0.3530879228976018, 0.974195095004042, 86] "Pulp Fiction (1994)" ["Drunks (1997)", 0.6623886486049159, 0.35981085673160695, 0.9649664404782248, 28] "Pulp Fiction (1994)" ["Turtle Diary (1985)", 0.6602987047722448, 0.3475415789764846, 0.9730558305680052, 14] "Pulp Fiction (1994)" ["Traveller (1997)", 0.6601721365050838, 0.35167002162833294, 0.9686742513818346, 31] "Pulp Fiction (1994)" ["Open Your Eyes (Abre los ojos) (1997)", 0.658452351722518, 0.35352561036982505, 0.963379093075211, 45] "Pulp Fiction (1994)" ["Secret Agent (1936)", 0.6584102695554774, 0.35637742242358084, 0.9604431166873739, 12] "Pulp Fiction (1994)" ["Clay Pigeons (1998)", 0.657962964669641, 0.3441515630484945, 0.9717743662907876, 109] "Pulp Fiction (1994)" ["Wisdom of Crocodiles, The (a.k.a. Immortality) (2000)", 0.6571280716286595, 0.32703497008386434, 0.9872211731734546, 10] "Pulp Fiction (1994)" ["Incognito (1997)", 0.6559416825412223, 0.3352606707294921, 0.9766226943529525, 8] "Pulp Fiction (1994)" ["Groove (2000)", 0.6557083754131654, 0.34967572984152107, 0.9617410209848098, 36] "Pulp Fiction (1994)" ["Santa Fe Trail (1940)", 0.6538580843032771, 0.33654323803672126, 0.971172930569833, 16] "Pulp Fiction (1994)" ["Single Girl, A (La Fille Seule) (1995)", 0.6526540503166492, 0.3291680546273203, 0.9761400460059783, 14] "Pulp Fiction (1994)" ["Office Killer (1997)", 0.6525893537199275, 0.3561913063173148, 0.9489874011225402, 12] "Pulp Fiction (1994)" ["GoodFellas (1990)", 0.6517591090212893, 0.32718653549375915, 0.9763316825488194, 1289] "Rocky (1976)" ["Rocky II (1979)", 0.8062230595997983, 0.6381913404902254, 0.9742547787093712, 387] "Rocky (1976)" ["Rocky III (1982)", 0.7427079445367228, 0.5300252436441611, 0.9553906454292844, 321] "Rocky (1976)" ["Picnic (1955)", 0.7069540781561199, 0.43637723856343424, 0.9775309177488056, 44] "Rocky (1976)" ["Night Falls on Manhattan (1997)", 0.70618438328829, 0.44260028614582286, 0.9697684804307573, 38] "Rocky (1976)" ["First Blood (1982)", 0.706129814413831, 0.4456181972135593, 0.9666414316141029, 274] "Rocky (1976)" ["Chungking Express (1994)", 0.6994945576063334, 0.43543013129509944, 0.9635589839175673, 45] "Rocky (1976)" ["Monster, The (Il Mostro) (1994)", 0.6969775298802326, 0.4115954838113592, 0.9823595759491062, 11] "Rocky (1976)" ["Romper Stomper (1992)", 0.6876647260830984, 0.4077359370147438, 0.9675935151514529, 37] "Rocky (1976)" ["Education of Little Tree, The (1997)", 0.684705954460283, 0.37769086028951465, 0.9917210486310515, 7] "Rocky (1976)" ["Beyond the Mat (2000)", 0.6838718058855547, 0.39952446038123596, 0.9682191513898735, 47] "Rocky (1976)" ["Magnum Force (1973)", 0.6838081411135356, 0.3961213157576314, 0.9714949664694398, 142] "Rocky (1976)" ["Outlaw Josey Wales, The (1976)", 0.6837795684663736, 0.39344831913733086, 0.9741108177954162, 209] "Rocky (1976)" ["G. I. Blues (1960)", 0.6809448005526545, 0.38852840187391174, 0.9733611992313973, 17] "Rocky (1976)" ["Shiloh (1997)", 0.6802760267511894, 0.36812386730885716, 0.9924281861935216, 10] "Rocky (1976)" ["All Over Me (1997)", 0.6753515320428374, 0.37038744602243545, 0.9803156180632393, 9] "Rocky (1976)" ["Hoosiers (1986)", 0.6751296684544746, 0.379114025702631, 0.9711453112063183, 343] "Rocky (1976)" ["Blink (1994)", 0.6749864243435584, 0.371299975633991, 0.9786728730531259, 27] "Rocky (1976)" ["Funny Bones (1995)", 0.6749338357224843, 0.3823434330599738, 0.9675242383849948, 21] "Rocky (1976)" ["Carmen (1984)", 0.6735356175597442, 0.3663077927825703, 0.980763442336918, 19] "Rocky (1976)" ["Searchers, The (1956)", 0.6720580868069036, 0.3746302946372324, 0.9694858789765748, 123] "Rocky (1976)" ["Switchback (1997)", 0.6715726308465736, 0.3786621604146806, 0.9644831012784666, 33] "Rocky (1976)" ["Rudy (1993)", 0.6703737330163779, 0.3792427907804435, 0.9615046752523123, 186] "Rocky (1976)" ["Caddyshack (1980)", 0.6701341677947811, 0.3764175378841652, 0.9638507977053969, 444] "Rocky (1976)" ["Bank Dick, The (1940)", 0.6691148154824199, 0.3730843617663653, 0.9651452691984745, 40] "Rocky (1976)" ["Rocky IV (1985)", 0.6682264768567787, 0.41088231293000366, 0.9255706407835539, 291] "Almost Famous (2000)" ["'Night Mother (1986)", 0.758430731773494, 0.5414193327314691, 0.9754421308155187, 26] "Almost Famous (2000)" ["Greatest Show on Earth, The (1952)", 0.756977835624765, 0.5234706354914896, 0.9904850357580401, 16] "Almost Famous (2000)" ["Bronco Billy (1980)", 0.745763160602503, 0.5155570074809303, 0.9759693137240757, 36] "Almost Famous (2000)" ["Smiling Fish and Goat on Fire (1999)", 0.7327435707586121, 0.4946785633667877, 0.9708085781504364, 22] "Almost Famous (2000)" ["Garden of Finzi-Contini, The (Giardino dei Finzi-Contini, Il) (1970)", 0.7123732405593859, 0.4451273526571465, 0.9796191284616252, 33] "Almost Famous (2000)" ["Steal This Movie! (2000)", 0.7121705101285839, 0.46638709390485694, 0.9579539263523109, 38] "Almost Famous (2000)" ["Guinevere (1999)", 0.7107899909504656, 0.44795789393686186, 0.9736220879640693, 32] "Almost Famous (2000)" ["Son of Frankenstein (1939)", 0.7096280308579728, 0.4514074445128962, 0.9678486172030493, 14] "Almost Famous (2000)" ["Tough Guys (1986)", 0.7085061564812825, 0.4309523629326093, 0.9860599500299556, 26] "Almost Famous (2000)" ["Beautiful Girls (1996)", 0.7029045125084302, 0.42613286883597085, 0.9796761561808895, 89] "Almost Famous (2000)" ["Gentleman's Agreement (1947)", 0.7006550989905895, 0.4166973674133599, 0.9846128305678191, 21] "Almost Famous (2000)" ["General, The (1998)", 0.7000798568109184, 0.41734794110143486, 0.9828117725204021, 24] "Almost Famous (2000)" ["Farewell to Arms, A (1932)", 0.6994829706421851, 0.41669322259696256, 0.9822727186874076, 15] "Almost Famous (2000)" ["Mummy, The (1932)", 0.6974954299311535, 0.4271568088376377, 0.9678340510246694, 28] "Almost Famous (2000)" ["Butterfly (La Lengua de las Mariposas) (2000)", 0.6973365559583364, 0.4118441824452967, 0.9828289294713761, 36] "Almost Famous (2000)" ["Ghost in the Shell (Kokaku kidotai) (1995)", 0.6951891914506387, 0.4085148995770855, 0.9818634833241919, 76] "Almost Famous (2000)" ["Queen Margot (La Reine Margot) (1994)", 0.6944497887593203, 0.4059167093317449, 0.9829828681868957, 31] "Almost Famous (2000)" ["Freedom for Us (A nous la liberte ) (1931)", 0.6941825567032144, 0.39719628547693625, 0.9911688279294925, 9] "Almost Famous (2000)" ["Thieves (Voleurs, Les) (1996)", 0.6934281247052858, 0.4097046491263414, 0.9771516002842302, 15] "Almost Famous (2000)" ["Aimee & Jaguar (1999)", 0.6925017307865118, 0.4087171796708357, 0.9762862819021879, 18] "Almost Famous (2000)" ["Withnail and I (1987)", 0.6913294237399459, 0.4104599561826823, 0.9721988912972094, 31] "Almost Famous (2000)" ["Pump Up the Volume (1990)", 0.6902227048329783, 0.408811392312846, 0.9716340173531106, 127] "Almost Famous (2000)" ["Boys of St. Vincent, The (1993)", 0.6879710827165035, 0.3861420848594597, 0.9898000805735474, 10] "Almost Famous (2000)" ["Tales of Terror (1962)", 0.6859543196870944, 0.37769086028951465, 0.9942177790846741, 7] "Almost Famous (2000)" ["Cutter's Way (1981)", 0.6859538361509092, 0.38443060453173644, 0.987477067770082, 11] "Great Escape, The (1963)" ["Man from Laramie, The (1955)", 0.7321529368623662, 0.4721612725442605, 0.9921446011804718, 19] "Great Escape, The (1963)" ["Spiral Staircase, The (1946)", 0.7307797331368457, 0.4665814657256566, 0.994978000548035, 16] "Great Escape, The (1963)" ["Ipcress File, The (1965)", 0.7294446309489535, 0.47602983724315817, 0.9828594246547487, 57] "Great Escape, The (1963)" ["Gentleman's Agreement (1947)", 0.7240265435542907, 0.46310339790895044, 0.9849496891996311, 40] "Great Escape, The (1963)" ["Great Day in Harlem, A (1994)", 0.720926289875519, 0.45334828194649374, 0.9885042978045443, 16] "Great Escape, The (1963)" ["Big Country, The (1958)", 0.7187545411294868, 0.45509087292590356, 0.98241820933307, 34] "Great Escape, The (1963)" ["Ghost in the Shell (Kokaku kidotai) (1995)", 0.7182008093339447, 0.4594547416045572, 0.9769468770633323, 51] "Great Escape, The (1963)" ["Man Who Knew Too Much, The (1934)", 0.7176787118436752, 0.452907411804477, 0.9824500118828732, 51] "Great Escape, The (1963)" ["Last Detail, The (1973)", 0.7138813820895319, 0.4510481201279269, 0.976714644051137, 84] "Great Escape, The (1963)" ["Guns of Navarone, The (1961)", 0.7132526096356497, 0.4412518524089879, 0.9852533668623115, 245] "Great Escape, The (1963)" ["Laura (1944)", 0.7124693938546638, 0.4416165030883502, 0.9833222846209775, 85] "Great Escape, The (1963)" ["Quiet Man, The (1952)", 0.7123222439470771, 0.4442596212950069, 0.9803848665991473, 97] "Great Escape, The (1963)" ["Lost Weekend, The (1945)", 0.712288631993775, 0.4391117567616651, 0.985465507225885, 55] "Great Escape, The (1963)" ["Thomas Crown Affair, The (1968)", 0.710676963510593, 0.4472766429746078, 0.9740772840465782, 110] "Great Escape, The (1963)" ["39 Steps, The (1935)", 0.7092101635475916, 0.4376147250249839, 0.9808056020701993, 114] "Great Escape, The (1963)" ["Croupier (1998)", 0.7085304214119671, 0.43718617587784697, 0.9798746669460872, 56] "Great Escape, The (1963)" ["Repulsion (1965)", 0.708245429845733, 0.43825228512854963, 0.9782385745629163, 32] "Great Escape, The (1963)" ["Women, The (1939)", 0.7071551129239022, 0.4322369370952984, 0.9820732887525061, 23] "Great Escape, The (1963)" ["Lonely Are the Brave (1962)", 0.7071301296857323, 0.42797709783551924, 0.9862831615359454, 33] "Great Escape, The (1963)" ["Lifeboat (1944)", 0.7065002185857631, 0.43556708903248864, 0.9774333481390375, 100] "Great Escape, The (1963)" ["Stalag 17 (1953)", 0.7063842391441851, 0.4271848871741699, 0.9855835911142004, 222] "Great Escape, The (1963)" ["Fitzcarraldo (1982)", 0.7063570071591222, 0.43096806518023184, 0.9817459491380126, 42] "Great Escape, The (1963)" ["Children of the Damned (1963)", 0.7026516597852672, 0.4377906224792125, 0.9675126970913219, 36] "Great Escape, The (1963)" ["...And Justice for All (1979)", 0.6984005249441232, 0.4142601671785581, 0.9825408827096882, 58] "Great Escape, The (1963)" ["Dirty Dozen, The (1967)", 0.6982120003841784, 0.4142336524931263, 0.9821903482752306, 351]