{"id":34107,"date":"2024-03-23T22:42:30","date_gmt":"2024-03-23T22:42:30","guid":{"rendered":"https:\/\/academicwritersbay.com\/writings\/data-science\/"},"modified":"2024-03-23T22:42:30","modified_gmt":"2024-03-23T22:42:30","slug":"data-science","status":"publish","type":"post","link":"https:\/\/academicwritersbay.com\/writings\/data-science\/","title":{"rendered":"Data science"},"content":{"rendered":"<p>CS628 \u2013 Data Science<br \/> Week 12 Assignment<br \/> Monroe College<br \/> Note: Read the resources posted in week 12 folder and the chapter 7 of the ebook in<br \/> the week 12 folder (Python for Data Analysis).<br \/> Solve the following problems 1 to 3, work with the Nutrition_subset data set. The data set<br \/> contains the weight in grams along with the amount of saturated fat and the amount of<br \/> cholesterol for a set of 961 foods. Use Python.<br \/> 1. The elements in the data set are food items of various sizes, ranging from a<br \/> teaspoon of cinnamon to an entire carrot cake.<br \/> a. Sort the data set by the saturated fat (saturated_fat) and produce a listing of<br \/> the five food items highest in saturated fat.<br \/> b. Comment on the validity of comparing food items of different sizes.<br \/> 2. Derive a new variable, saturated_fat_per_gram, by dividing the amount of<br \/> saturated fat by the weight in grams.<br \/> a. Sort the data set by saturated_fat_per_gram and produce a listing of the<br \/> five food items highest in saturated fat per gram.<br \/> b. Which food has the most saturated fat per gram?<br \/> 3. Derive a new variable, cholesterol_per_gram.<br \/> a. Sort the data set by cholesterol_per_gram and produce a listing of the five<br \/> food items highest in cholesterol fat per gram.<br \/> b. Which food has the most cholesterol fat per gram?<\/p>\n<p>Solve the following problems 4 to 6, work with the adult_ch3_training data set. The response is whether income exceeds $50,000. Use Python.<br \/> 4. Add a record index field to the data set.<br \/> 5. Determine whether any outliers exist for the education field.<br \/> 6. Do the following for the age field.<br \/> a. Standardize the variable.<br \/> b. Identify how many outliers there are and identify the most extreme outlier.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CS628 \u2013 Data Science Week 12 Assignment Monroe College Note: Read the resources posted in week 12 folder and the chapter 7 of the ebook in the week 12 folder (Python for Data Analysis). Solve the following problems 1 to 3, work with the Nutrition_subset data set. The data set contains the weight in grams &#8230; <a title=\"Data science\" class=\"read-more\" href=\"https:\/\/academicwritersbay.com\/writings\/data-science\/\" aria-label=\"Read more about Data science\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-34107","post","type-post","status-publish","format-standard","hentry","category-essaywr"],"_links":{"self":[{"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/posts\/34107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/comments?post=34107"}],"version-history":[{"count":0,"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/posts\/34107\/revisions"}],"wp:attachment":[{"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/media?parent=34107"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/categories?post=34107"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/academicwritersbay.com\/writings\/wp-json\/wp\/v2\/tags?post=34107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}