{"id":78792,"date":"2021-12-01T23:29:29","date_gmt":"2021-12-01T23:29:29","guid":{"rendered":"https:\/\/papersspot.com\/blog\/2021\/12\/01\/it446-project-question-1-we-chose-heart-disease-uci-from-the-source\/"},"modified":"2021-12-01T23:29:29","modified_gmt":"2021-12-01T23:29:29","slug":"it446-project-question-1-we-chose-heart-disease-uci-from-the-source","status":"publish","type":"post","link":"https:\/\/papersspot.com\/blog\/2021\/12\/01\/it446-project-question-1-we-chose-heart-disease-uci-from-the-source\/","title":{"rendered":"IT446 Project Question 1 We chose &#8220;Heart Disease UCI&#8221; from the source:"},"content":{"rendered":"<p>IT446 Project<\/p>\n<p> Question 1<\/p>\n<p> We chose &#8220;Heart Disease UCI&#8221; from the source: &#8220;https:\/\/www.kaggle.com\/ronitf\/heart-disease-uci?select=heart.csv&#8221;<\/p>\n<p> The screenshots show some of the information about the chosen database:<\/p>\n<p> Question 2<\/p>\n<p> The data has 14 attributes and 303 instances, which is appropriate with question requirements.<\/p>\n<p> Q 3<\/p>\n<p> The format of the data file here is CSV, so we need to prepare an ARFF format of the data file.<\/p>\n<p> First, we need to open the heart.csv data file. then save it to heart.arff format.<\/p>\n<p> here is the screenshot showing what we did.<\/p>\n<p> CSV format write as this way:<\/p>\n<p> age,sex,cp,trestbps,chol,fbs,restecg,thalach,exang,oldpeak,slope,ca,thal,target<\/p>\n<p> 63,1,3,145,233,1,0,150,0,2.3,0,0,1,1<\/p>\n<p> 37,1,2,130,250,0,1,187,0,3.5,0,0,2,1<\/p>\n<p> 41,0,1,130,204,0,0,172,0,1.4,2,0,2,1<\/p>\n<p> 56,1,1,120,236,0,1,178,0,0.8,2,0,2,1<\/p>\n<p> 57,0,0,120,354,0,1,163,1,0.6,2,0,2,1<\/p>\n<p> 57,1,0,140,192,0,1,148,0,0.4,1,0,1,1<\/p>\n<p> 56,0,1,140,294,0,0,153,0,1.3,1,0,2,1<\/p>\n<p> 44,1,1,120,263,0,1,173,0,0,2,0,3,1<\/p>\n<p> 52,1,2,172,199,1,1,162,0,0.5,2,0,3,1<\/p>\n<p> 57,1,2,150,168,0,1,174,0,1.6,2,0,2,1<\/p>\n<p> 54,1,0,140,239,0,1,160,0,1.2,2,0,2,1<\/p>\n<p> 48,0,2,130,275,0,1,139,0,0.2,2,0,2,1<\/p>\n<p> 49,1,1,130,266,0,1,171,0,0.6,2,0,2,1<\/p>\n<p> 64,1,3,110,211,0,0,144,1,1.8,1,0,2,1<\/p>\n<p> On the other hand, ARFF format writes as this way:<\/p>\n<p> @relation heart<\/p>\n<p> @attribute \ufeffage numeric<\/p>\n<p> @attribute sex numeric<\/p>\n<p> @attribute cp numeric<\/p>\n<p> @attribute trestbps numeric<\/p>\n<p> @attribute chol numeric<\/p>\n<p> @attribute fbs numeric<\/p>\n<p> @attribute restecg numeric<\/p>\n<p> @attribute thalach numeric<\/p>\n<p> @attribute exang numeric<\/p>\n<p> @attribute oldpeak numeric<\/p>\n<p> @attribute slope numeric<\/p>\n<p> @attribute ca numeric<\/p>\n<p> @attribute thal numeric<\/p>\n<p> @attribute target numeric<\/p>\n<p> @data<\/p>\n<p> 63,1,3,145,233,1,0,150,0,2.3,0,0,1,1<\/p>\n<p> 37,1,2,130,250,0,1,187,0,3.5,0,0,2,1<\/p>\n<p> 41,0,1,130,204,0,0,172,0,1.4,2,0,2,1<\/p>\n<p> 56,1,1,120,236,0,1,178,0,0.8,2,0,2,1<\/p>\n<p> 57,0,0,120,354,0,1,163,1,0.6,2,0,2,1<\/p>\n<p> 57,1,0,140,192,0,1,148,0,0.4,1,0,1,1<\/p>\n<p> 56,0,1,140,294,0,0,153,0,1.3,1,0,2,1<\/p>\n<p> 44,1,1,120,263,0,1,173,0,0,2,0,3,1<\/p>\n<p> 52,1,2,172,199,1,1,162,0,0.5,2,0,3,1<\/p>\n<p> 57,1,2,150,168,0,1,174,0,1.6,2,0,2,1<\/p>\n<p> 54,1,0,140,239,0,1,160,0,1.2,2,0,2,1<\/p>\n<p> 48,0,2,130,275,0,1,139,0,0.2,2,0,2,1<\/p>\n<p> 49,1,1,130,266,0,1,171,0,0.6,2,0,2,1<\/p>\n<p> 64,1,3,110,211,0,0,144,1,1.8,1,0,2,1<\/p>\n<p> 58,0,3,150,283,1,0,162,0,1,2,0,2,1<\/p>\n<p> Q4<\/p>\n<p> First, we have to open the Weka tool, then click on the Explorer button to load Weka Explorer, after that we click on the open button and choose the needed data file.<\/p>\n<p> Here is the Weka Explorer contains the description of the dataset.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IT446 Project Question 1 We chose &#8220;Heart Disease UCI&#8221; from the source: &#8220;https:\/\/www.kaggle.com\/ronitf\/heart-disease-uci?select=heart.csv&#8221; The screenshots show some of the information about the chosen database: Question 2 The data has 14 attributes and 303 instances, which is appropriate with question requirements. Q 3 The format of the data file here is CSV, so we need to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10],"class_list":["post-78792","post","type-post","status-publish","format-standard","hentry","category-research-paper-writing","tag-writing"],"_links":{"self":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts\/78792","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/comments?post=78792"}],"version-history":[{"count":0,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/posts\/78792\/revisions"}],"wp:attachment":[{"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/media?parent=78792"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/categories?post=78792"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/papersspot.com\/blog\/wp-json\/wp\/v2\/tags?post=78792"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}