Prévia do material em texto
Data Science: Machine Learning Comprehension Check: Basics of Evaluating Machine Learning Algorithms Q1 2.0/2.0 points (graded) For each of the following, indicate whether the outcome is continuous or categorical. Digit reader correta categorical Height correta continuous Spam filter correta categorical Stock prices correta continuous Sex correta categorical Q2 1/1 point (graded) How many features are available to us for prediction in the mnist digits dataset? You can download the mnist dataset using the read_mnist() function from the dslabs package. correta 784 784 Explanation One way to figure out the number of features available for prediction is to download mnist and then use the ncol function, like this: mnist <- read_mnist() ncol(mnist$train$images) continuous categorical 784 categorical continuous categorical