class: inverse, center, middle # 36-315: Statistical Graphics and Visualization ## Lab 8 Meghan Hall <br> Department of Statistics & Data Science <br> Carnegie Mellon University <br> June 22, 2021 --- layout: true <div class="my-footer"><span>cmu-36315.netlify.app</span></div> --- # Group project logistics <br> .large[Email me ASAP if:] <br> .medium[you have a group member (or two) you want to be with] <br> .medium[you want your time zone taken into consideration] <br> .large[First piece due Friday 11:30am EDT] <br> .medium[summary of where you are so far: collaboration strategy, data set decisions, etc.] --- # Midterm considerations <br> .large[Inefficient joining & aggregating] <br> .medium[always join at the latest possible step] <br> .medium[distill aggregating into as few steps as possible] <br> -- .large[Be careful with your conclusions] <br> .medium[be aware of the limitations of the data you have] --- # Today's lab <br> .large[Visualizing model output] <br> .medium[models have already been created for you] <br> .medium[will need to create a user-defined function] <br> .large[The syntax from Lecture 12 will be very helpful!] <br> --- # A note about syntax **these evaluate to the same result** personal preference if you: ```r # a) start with data and pipe in the function TOI_plus_predictions %>% accuracy(defense, .pred_class) # b) run the function on its own and supply the data accuracy(TOI_plus_predictions, defense, .pred_class) ``` --- # Upcoming <br> .large[Lab assignment due 11:30am EDT Wednesday] <br> .medium[Ask questions on Piazza if they don't get answered here] <br> .large[Lecture 13 on Wednesday June 23] <br> .medium[creating tables and analyzing text data] <br> .large[Second graphic critique] <br> .medium[let's drop it]