Page 2 out of 15 results
Sort by
-
Week 7
- Summary • 3 pages • 2023
- Available in package deal
-
- $10.49
- + learn more
The text is Mastering Spark with R. 
Using the sc connection that you have built earlier and making sure that you are still using Java 8, install the corr library and execute the following lines of code: 
>ml_corr(cars) 
>correlate(cars, use = "", method = "pearson" 
>correlate(cars, use = "", method = "pearson" %>% 
 shave() %>% 
 rplot() 
 
Submit a Word doc with screenshots of the results of running the code. Explain what the chart is showing. Expl...
-
Week 6
- Summary • 3 pages • 2023
- Available in package deal
-
- $10.49
- + learn more
The text is Mastering Spark with R. 
Using the sc connection with Java 8, execute the following lines of code: 
>summarize(cars, mpg_percentile = percentile(mpg, 0.25) 
>summarize(cars, mpg_percentile = percentile(mpg, 0.25) %>% 
 show_query() 
>summarize(cars, mpg_percentile = percentile(mpg, array(0.25, 0.5, 0.75) )) 
>summarize(cars, mpg_percentile = percentile(mpg, array(0.25, 0.5, 0.75) )) %>% 
 mutate(mpg_percentile = explode(mpg_percentile))
-
Week 2
- Summary • 3 pages • 2023
- Available in package deal
-
- $10.49
- + learn more
Following the instrutions in the book, install the sparklyr library and a Spark cluster on your local machine. The instructions in the book contemplate that you will be using Windows. If you are not running Windows, use a virtual machine. If you are using your employer's equipment, you may enounter a trusted domain error. This will also require that you install a virtual machine. The code in the book assumes Spark version 2.3 and Java 8. You are free to use any version, of course, but the co...
-
Week 3
- Summary • 2 pages • 2023
- Available in package deal
-
- $10.49
- + learn more
The text is Mastering Spark with R. 
After installing the dplyr library, use the following code in R studio, create a scatter plot of hp v. mpg 
 
cars2 <- copy_to(sc, mtcars) 
cars3 <- (cars2) 
cars4 <- select(cars3, hp, mpg) 
cars5 <- sample_n(cars4, 32) 
cars6 <- collect(cars5) 
plot(cars6)
-
Week 1
- Summary • 1 pages • 2023
- Available in package deal
-
- $10.49
- + learn more
Submit a Word or .pdf document with screen shots of R Studio where you have created a vector of three words. Whenever you are asked to submit a screenshot, include either a sliver of your desktop or a timestamp from your desktop. Always repeat the question you are answering.