{"comment":{"url":"https://api.github.com/repos/biolprogramming/assignment-10/comments/16475550","html_url":"https://github.com/biolprogramming/assignment-10/commit/a78fab6096ae6032a59cea4fc57b28236dd631ea#commitcomment-16475550","id":16475550,"user":{"login":"turneraj","id":16652501,"avatar_url":"https://avatars.githubusercontent.com/u/16652501?v=3","gravatar_id":"","url":"https://api.github.com/users/turneraj","html_url":"https://github.com/turneraj","followers_url":"https://api.github.com/users/turneraj/followers","following_url":"https://api.github.com/users/turneraj/following{/other_user}","gists_url":"https://api.github.com/users/turneraj/gists{/gist_id}","starred_url":"https://api.github.com/users/turneraj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turneraj/subscriptions","organizations_url":"https://api.github.com/users/turneraj/orgs","repos_url":"https://api.github.com/users/turneraj/repos","events_url":"https://api.github.com/users/turneraj/events{/privacy}","received_events_url":"https://api.github.com/users/turneraj/received_events","type":"User","site_admin":false},"position":null,"line":null,"path":"","commit_id":"a78fab6096ae6032a59cea4fc57b28236dd631ea","created_at":"2016-03-03T14:59:34Z","updated_at":"2016-03-03T14:59:34Z","body":"## Task 1\r\n\r\nWrite a program to count word usage in the given text.  Have this program print out, in decreasing order (most common to least common) the 10 most common words and the count of each word used. As always, your program should contain a `main` loop and an `ifmain` statement, and it should be formatted correctly.  You should use a *standard* dictionary as part of your function(s) to accomplish this task (see Task 2, where you'll use a slightly different type of dictionary).\r\n\r\n- [ ] Program is correctly formatted (0.5 pt)\r\n- [ ] Program includes `main()` function and \"ifmain\" statement (0.5 pt)\r\n- [ ] Program uses a dictionary to correctly count words in the text and returns correct words and their counts for the 10 most common words (4 pts.)\r\n\r\n## Task 2\r\n\r\nUsing [Counter](https://docs.python.org/2/library/collections.html#collections.Counter) from the `collections` module, write a program to count word usage in the same text as above.  Have this program print out, in decreasing order (most common to least common) the 10 most common words and the count of each word used. As always, your program should contain a `main` loop and an `ifmain` statement, and it should be formatted correctly.\r\n\r\n- [ ] Program is correctly formatted (0.5 pt)\r\n- [ ] Program includes `main()` function and \"ifmain\" statement (0.5 pt)\r\n- [ ] Program uses a `Counter` to correctly count words in the text and returns correct words and their counts for the 10 most common words (4 pts.)\r\n\r\n## Task 3\r\n\r\nWrite a program that processess the given data to create a dictionary that maps the ExaML run name (e.g. ExaML_info.T6 as the `key`) to the ExaML log-likelihood value (e.g. -82924194.67 as the `value`). Use this function or a function that calls this function to prettily print the run name followed by the log-likelihood value in two column format to the screen.  Also include a function that sorts the log-likelihood values and helps us determine which run name minimizes the negative log likelihood value (e.g. the run name having the LL value closest to zero). Also output the name of this \"best\" run to the screen.\r\n\r\n- [ ] Program is correctly formatted (0.5 pt)\r\n- [ ] Program includes `main()` function and \"ifmain\" statement (0.5 pt)\r\n- [ ] Program prints run name/LL in two column format and correctly sorts and reports the \"best\" ML result (4 pts.)"}}