Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

Group coursework 1

● Please upload your report in one pdf le. Please also include the total number of words on the front page of the report.

● Please also upload one R script for the app and the dataset you use.

● Make sure that you have included sucient comments in the codes to make them readable by other people. There should be no error messages shown when I run your R scripts. You can assume that I have installed all required packages.

● This coursework will be assessed based on the quality of the app, e.g.  whether the layout is clear, whether it’s user-friendly and whether the classifiers can be explained clearly via the app, and the quality of the report, e.g.  presentation, writing and quality of plots.

Question 1    [25 marks] Design your own shiny app that can visualise decision tree and random forest.  The aim of this app is to present to your clients with little knowledge about machine learning, on how decision tree and random forest work and what are the conclusions of your analysis of the data. Note:  1) You can use any dataset that you like, but please make sure that the dataset is with less than 500 observations and 50 features for illustrative purpose.  If you nd a large dataset that is interesting to analyse, please down sample the dataset to t the criterion.  2) You can’t use R packages that include shiny apps to visualise decision tree and random forest from other authors.

Please also write a report to show 1) the task of the dataset, 2) how you design the app and how it works and 3) your analysis of the results obtained from the two classifiers. The report should be no more than 500 words.  You will get a penalty on the report if you exceed this limit by 10%.