Publications by Adam Gersowitz
624 HW4
3.1) The UC Irvine Machine Learning Repository6 contains a data set related to glass identification. The data consist of 214 glass samples labeled as one of seven class categories. There are nine predictors, including the refractive index and percentages of eight elements: Na, Mg, Al, Si, K, Ca, Ba, and Fe. The data can be accessed via: > library...
3814 sym R (4163 sym/12 pcs) 4 img 2 tbl
624 HW 9
8.1. Recreate the simulated data from Exercise 7.2: set.seed(200) simulated <- mlbench.friedman1(200, sd = 1) simulated <- cbind(simulated$x, simulated$y) simulated <- as.data.frame(simulated) colnames(simulated)[ncol(simulated)] <- "y" (a) Fit a random forest model to all of the predictors, then estimate the variable importance scores: Did the...
5382 sym R (9066 sym/55 pcs) 2 img
market basket 624
Import data Create associations with apriori algorithm “The Apriori algorithm is used for mining frequent itemsets and devising association rules from a transactional database. The parameters “support” and “confidence” are used. Support refers to items’ frequency of occurrence; confidence is a conditional probability." The confidence...
1094 sym R (5025 sym/8 pcs)