Question

In: Statistics and Probability

Using R to show how classification and clustering, can be applied to classify or cluster data....

Using R to show how classification and clustering, can be applied to classify or cluster data. Make sure to submit your data, results, plots, and your interpretation.

a) Please use any dataset to conduct a classification analysis (logistic regression, random forest, or decision tree – better if you apply more than one method and compare)

b) Please use any dataset to conduct a clustering analysis (kmeans or hierarchical or random forest – better if you apply more than one method and compare)

Solutions

Expert Solution

1:

#Random forest giving 75% accuracy.

#2:


Related Solutions

Explain how classification, regression, association rules and clustering can be applied in the education industry in...
Explain how classification, regression, association rules and clustering can be applied in the education industry in the context of the current situation of covid-19 pandemic ?
Using R Programing Apply clustering to "Wholesale customers Data Set" and see if you can distinguish...
Using R Programing Apply clustering to "Wholesale customers Data Set" and see if you can distinguish between regions. NOTE: the clustering should exclude the region column.
Part (A): Using R to show how to decompose the seasonal time series data and then...
Part (A): Using R to show how to decompose the seasonal time series data and then subtract that effect from the data. This assignment is to practice using R to learn how to decompose seasonal time series data. Please use the data set in “A Little of R for Time Series” Section 2.4 (p.20): • > births <-scan("http://robjhyndman.com/tsdldata/data/nybirths.dat") > birthstimeseries <-  ts(births, frequency=12, start=c(1946,1)) > birthstimeseries • Then you can use the following to show how you can decompose the time...
APPLIED STATISTICS 2 USE R CODE! SHOW R CODE Use data file RecordMath2526.txt, to produce a...
APPLIED STATISTICS 2 USE R CODE! SHOW R CODE Use data file RecordMath2526.txt, to produce a plot graph with Exam1 as x, Exam2 as y, use Gender as color, and Hw1 as pch. RecordMath2526 information Index Gender Hw1 Hw2 Hw3 Exam1 Hw4 Exam2 Hw5 Hw6 Hw7 Final 1 F 9 6 8 60 7 82 10 10 9 69 2 M 10 10 10 94 9 98 10 10 8 91 3 M 9 10 8 79 9 55 10...
How could a manufacturer use classification/clustering techniques to identify a new supplier for component parts?
How could a manufacturer use classification/clustering techniques to identify a new supplier for component parts?
Using R Question 3. kNN Classification 3.1 Read in iris dataset using “data(iris)”. Describe the features...
Using R Question 3. kNN Classification 3.1 Read in iris dataset using “data(iris)”. Describe the features in the data using summary 3.2 Randomize the iris data set, mix it up and normalize it 3.3 split data into training & testing (70/30 split) 3.4 Train model in data and use crosstable function to evaluate the results 3.5 Rerun your code for K=10 and 100. Compare results and explain
Show how ( Chi-Square) can be applied, and how it may be used in any industry...
Show how ( Chi-Square) can be applied, and how it may be used in any industry of your choosing. Provide a brief description of what the “Chi-Square” distribution is used for, then provide the example, and then tell what that example showed. (Note: The answer has to be typed, not hand written nor in a picture.) Thank you.
. Describe two business applications where cluster analysis can be applied by business owners and explain...
. Describe two business applications where cluster analysis can be applied by business owners and explain each cluster grouping in detail?
How can this problem be done WITHOUT using R? For the bird egg length data set,...
How can this problem be done WITHOUT using R? For the bird egg length data set, conduct an appropriate test to determine if bird egg length differs among species. Assume that before you conducted this test you hypothesized about 3 contrasts a priori. These were that (1) Meadow Pipits, Wagtails, and Robins would be different than the other 3 bird species, (2) Hedge Sparrows would differ from Wrens, and (3) Tree Pipits would be different than all other birds. Use...
Describe two business applications where cluster analysis can be applied by business owners and explain each...
Describe two business applications where cluster analysis can be applied by business owners and explain each cluster grouping in detail.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT