Hello, I apologize for all the extra lines of code. I was struggling with this homework, so I relied heavily on last week’s lecture and used a lot of the example code as a guide. I tried to follow the same steps with my own data to help me understand how everything works.