代写STATS 3DA3 Homework Assignment 6代写C/C++语言

STATS 3DA3

Homework Assignment 6

Submission Deadline

•  All submissions must be made before 10:00 PM on Wednesday, April 16, 2025.

Late Submissions

•  Late Submission Penalty: A 15% deduction per day will be applied to assignments submitted after the deadline, including SAS accomdations.

•  Late Submission Limit:  Assignments submitted  more  than  72  hours  late will receive a grade of zero, including SAS accomdations.

Submission Guidelines

•  Format:   Submit  your  work  as  a  single  PDF  file  via  Avenue  to  Learn.   You  may  submit individually or or as a group of up to three members.

Individual Submission

•  Complete Questions 1—15.

•  A GitHub repository is optional.

Group Submission

• Complete Questions 1–17.

• Group Size: Up to three members.

• Team Members’Contributions: For group submissions, you must complete Question 16, de- tailing each member’s contributions. This should correspond with the commit history in the GitHub repository.

-  Note: While Question 16 is not graded, failure to include this information will result in the assignment not being graded.

-  Example:

∗ Member A: Questions 1, 2, 4

∗ Member B: Questions 3, 5, 6

• GitHub Repository: You must include a link to a public GitHub repository showing the assignment’s version history.

-  Note: While Question 17 is not graded, failure to provide this information will result in the assignment not being graded.

Assignment Standards

Please ensure your assignment adheres to the following standards for submission:

• Title Page Requirements: Each submission must include a title page featuring your group members’names and student IDs. Assignments without a title page will not be considered for grading.

• Formatting Preferences: The use of Quarto Jupyter Notebook for document preparation is highly recommended.

• Font and Spacing: Submissions must utilize an eleven-point font (Times New Roman or a similar font) with 1.5 line spacing. Ensure margins of at least 1 inch on all sides.

• Individual Work: While discussing homework problems with peers and other groups is per- mitted, the final written submission must be your group work.

•  Submission  Content:  Do  not  include the  assignment  questions within your  PDF. Instead, clearly mark each response with the corresponding question number.  Screenshots are not an acceptable form of submission under any circumstances.

•  Academic Writing:  Ensure that your writing and any references used are appropriate for an undergraduate level of study.

•  Originality  Checks:   Be  aware  that  the  instructor  may  use  various  tools,  including  online resources or in-person meetings, to verify the originality of submitted work.

Assignment Policy on the Use of Generative AI

•  The use of Generative AI is not permitted in assignments, except for using GitHub Copilot as a coding assistant.

-  If GitHub Copilot is used, you must clearly indicate this in the code comments.

•  In alignment with McMaster academic integrity policy, it “shall be an offence knowingly to   submit academic work for assessment that was purchased or acquired from another source”. This includes work created by generative AI tools.  Also state in the policy is the following, “Contract Cheating is the act of”outsourcing of student work to third parties” with or without  payment.”  Using Generative AI tools is a form of contract cheating.  Charges of academic  dishonesty will be brought forward to the Office of Academic Integrity.

Heart Disease Classification Challenge

Overview

In this assignment, you will analyze the UCI Heart Disease Dataset, which contains medical records used to predict the presence of heart disease in patients. The dataset includes a mix of categorical and numerical variables, some missing values, and class imbalance.

For the context of data science methods for heart disease prediction, refer to - Detrano, R., et., al.  (1989).   International  application  of  a  new  probability  algorithm  for  the  diagnosis  of  coro- nary  artery  disease.    The  American  journal  of  cardiology,  64(5),  304-310.    DOI:10.1016/0002- 9149(89)90524-9.

Dataset Information

The dataset is available at the UCI Machine Learning Repository:

https://archive.ics.uci.edu/ml/datasets/Heart+Disease

•  Key Features:

–  The dataset includes 303 observations with 13 features.

–  Features  include  age,  sex,  chest  pain  type,  resting  blood  pressure,  cholesterol  levels, fasting blood sugar, electrocardiographic results, and others.

–  The response variable is num, which will be transformed to binary in the analysis.

Objectives

Analyze  the  dataset  using  two  classification  algorithms.    Your  analysis  should  include  ex- ploratory data analysis, handling of missing values, feature selection, feature engineering, modeling, interpretation, and effective communication.  The goal is to draw meaningful and well-supported  conclusions from your analysis.

•  Classifier requirement:   At  least  one  of the  classifiers  must be  interpretable to  allow  for in-depth analysis and inference.

Assignment Questions

Address the  following  questions  in your  submission,  providing  detailed  insights and  conclusions based on your analysis.

1.  Define and describe a classification problem using the dataset.

2.  Apply any chosen data transformations, or explain why no transformations were necessary.

3.  Provide  a  detailed  description  of the  dataset,  including  variables,  summaries,  number  of observations, data types, and distributions (include at least three statements).

4.  Transform the response num into a binary outcome:  1 for heart disease and 0 for no heart disease.  So combine 1, 2, 3, and 4 into 1 and 0 for 0.  For Questions 4-16, use the transformed binary outcome.

5.  Analyze relationships between variables and discuss their implications for feature selection or extraction (include at least two statements).

6.  Drop the rows with the missing values.  How many osbervations after dropping the missing values.  Skip the outlier analysis.

7.  Sub-group  analysis:  Explore  potential  sub-groups within the  data  using  appropriate  data  science methods.  Identify and visualize these sub-groups without using the labels and cate- gorical variables.  Categroical variables already define sub groups so we don’t need to include  them for this analysis.

8.  Split 30% of the data for testing using a random seed of 1.  Use the remaining 70% for training and model selection.

9.  Identify the two classifiers you have chosen.   Justify your selections based on the classifier requirement for this assignment.

10.  Specify two metrics to compare classifier performance. Provide technical details on how each metric is computed.

11.  Train two selected classifiers in  (9) and identify optimal tuning parameters  (if applicable) using the training set.

12.  Apply a feature selection or extraction method to one of the classifiers in (9).  Train this third classifier on the training set and identify optimal tuning parameters (if applicable) using the training set.

13.  Use the selected metrics to evaluate three classifiers in (11) and (12) on the test set.

•  Discuss your findings (at least two statements).

•  Discuss the impact of feature selection or extraction on the performance of the classifier (at least one statement).

14.  For the best interpretable model identified in (13), analyze and interpret the most important predictor variables in the context of the classification challenge (at least two statements).

15.  [Bonus] Sub-group improvement strategy:  If sub-groups were identified, propose and imple- ment a method to further improve the performance of one classifier.   Compare the fourth  classifier performance with the results from (13).

16.  Team  Contributions:  Document each team member’s specific contributions to the ques- tions above. For group submissions, this should match the GitHub commit history. Individual  submissions do not need to address this question.

17.  Link to the public GitHub repository. This is optional for the individual submissions.

Notes

•  Students can also choose one classifer not covered in the lectures.

Grading scheme

1.                            Answer [1]

2.                         Codes (variable type transformation, etc.)  [1]

OR rationale for no transformation [1]

3.                          Codes  [3] and three statements [2]

4.                          Codes for transforming the response variable [1]

5.                         Codes for association  [2] and interpretation of figures or tables [2]

6.                            Codes [1]

answer [1]

7.                          Codes to identify sub groups [3] and Plot the sub groups [1]

8.                            Codes [1]

9.                          classifiers and justification  [2]

10.                        Describe the two metrics  [2]

11.                          Codes for training two classifiers [2]

Codes for tuning parameters (if any) [1]

12.                        Codes for feature selection or feature extraction [1]

Codes  for training the third  classifier with the  selected  or  ex- tracted features [1]

Codes for tuning parameters (if any) [1]

13.                        Codes for evaluating three classifiers on the test set using two metrics in (10) [3]

Two statements for the findings [2]

One statement for the impact of feature selection or extraction

[1]

14.                        Codes finding the important variables [1]

Two statements for the analysis and interpretation of the most important predictor variables [2]

15.                       Codes for the sub-group improvement strategy (training and tun- ing parameters, if any) [Bonus 2]

Comparison of the performance with the results from (13) [Bonus 1]

Bonus 3 points will be added to the final grade

16.                          Document each team member’s specific contributions

17.                       Link to the public GitHub repository

The maximum point for this assignment is 39.  We will convert this to 100%. The bonus 3 points will be added to the final grade.

All group members will receive the same grade if they contribute to the same.


热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图