{"id":33555,"date":"2018-02-20T23:50:30","date_gmt":"2018-02-20T23:50:30","guid":{"rendered":"https:\/\/writemyessayfree.com\/python-2"},"modified":"2017-08-16T06:22:56","modified_gmt":"2017-08-16T06:22:56","slug":"python-2","status":"publish","type":"post","link":"https:\/\/www.benedictsol.com\/blogs\/python-2\/","title":{"rendered":"Python"},"content":{"rendered":"<div class=\"the_content_wrapper\">\n<p>Python<br \/> verview (data source: kaggle)<br \/> titanic.csv<\/p>\n<p>Use five-fold mode and separate the data into training and testing sets. The training set should be used to build your machine learning models. Your model will be<br \/> based on \u201cfeatures\u201d like passengers\u2019 gender and class. You can also use feature engineering to create new features.<\/p>\n<p>The test set should be used to see how well your model performs on unseen data. You should report your result in terms of average accuracy.<br \/> Data Dictionary<\/p>\n<p>Variable Definition Key<br \/> survival Survival 0 = No, 1 = Yes<br \/> pclass Ticket class 1 = 1st, 2 = 2nd, 3 = 3rd<br \/> sex Sex<br \/> Age Age in years<br \/> sibsp # of siblings\/spouses<br \/> parch # of parents\/children<br \/> fare Passenger fare<br \/> embarked Port of Embarkation C = Cherbourg, Q = Queenstown, S = Southampton<\/p>\n<p>Variable Notes<br \/> pclass: A proxy for socio-economic status (SES)<br \/> 1st = Upper<br \/> 2nd = Middle<br \/> 3rd = Lower<\/p>\n<p>age: Age is fractional if less than 1.<\/p>\n<p>sibsp: The dataset defines family relations in this way\u2026<br \/> Sibling = brother, sister, stepbrother, stepsister<br \/> Spouse = husband, wife (mistresses and fianc\u00c3\u00a9s were ignored)<\/p>\n<p>parch: The dataset defines family relations in this way\u2026<br \/> Parent = mother, father<br \/> Child = daughter, son, stepdaughter, stepson<br \/> Some children travelled only with a nanny, therefore parch=0 for them.<\/p>\n<p>Analysis requirement:<br \/> 1. How is the survival chance related to the gender?<br \/> 2. How is the survival chance related to age?<br \/> 3. How is the survival chance related to socio-economic status?<br \/> 4. What models do you chose for the prediction and why?<br \/> 5. What are the first three most important factors related to the survival chance?<br \/> 6. What is your average prediction accuracy?<\/p>\n<p>Submission requirement:<br \/> Use the submission script and submit your project by 05\/03\/17 11:59pm.<br \/> You should format your project report by using jupyter notebook<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Python verview (data source: kaggle) titanic.csv Use five-fold mode and separate the data into training and testing sets. The training set should be used to build your machine learning models. Your model will be based on \u201cfeatures\u201d like passengers\u2019 gender <a href=\"https:\/\/www.benedictsol.com\/blogs\/python-2\/\" class=\"read-more\">Read More &#8230;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-33555","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/33555","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/comments?post=33555"}],"version-history":[{"count":0,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/posts\/33555\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/media?parent=33555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/categories?post=33555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.benedictsol.com\/blogs\/wp-json\/wp\/v2\/tags?post=33555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}