Highlights
Part 1 – Data analysis using PCA and report on findings
a) You must clean and normalize the data to make it usable in “R”.
- To run PCA on this data set, you will need to address the NAs appropriate prior to PCA. You will need to convert the category variables into something usable noting that PCA will only accept numerical values. Hint: Google the terms “dummy variables”.
- Briefly report on any data manipulation that was required to make the data usable in R.
- Export your “cleaned” data as follows.
#Write to a csv file. This will need to be submitted write.csv(mydata,"mydata.csv")
b) Perform PCA on the 9 features (1st 9 columns in mydata) using prcomp(.) in R.
- Outline the individual and cumulative proportions of variance explained by each of the first 3 components.
- Outline the coefficients (or loadings) for PC1 to PC3.
c) Create a scree plot and outline how many principal components do you believe are adequate to explain at least 50% of the variability in your data.
d) Create a biplot with PC1 and PC2 to help visualize the results of your PCA in the first two dimensions. Colour code the points with the variable, Verified.as.Malware. Write a short paragraph to explain what your biplot is showing.
e) Based on the results from parts b) to d), describe which dimension(s) (if any) can assist with the classification of malware and what are the key features in this dimension that can drive this process.
f) Based on the features that you have identified in part e),
- Cross-tabulate each of your categorical feature(s) (if any) against the malware variable, i.e. Verified.as.Malware and determine the count and percentage
This Computer Science Assignment has been solved by our Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.