Sunday, February 16, 2014

Week 5 - Project 2 is Done

Hey,

This week project 2 - Netflix was due. I was able to work with a pair programmer, Keyon, on this one and we met up to get coding and just about finished it in one evening. So we turned it in relatively early when we thought we had it done. Little did we realize that we had not actually gotten the code running to spec, under one minute for reading in a ~1.4 million line text file along with calculating the RMSE values of our predicted movie rating data compared with that of the actual rating data. So our first attempt, while it did seem to solve the problem, still needed a bit of tweaking. Of course, we had to meet up again. After a bit more reading into the problem and a little refactoring of our code, we got it running in time and turned in the project a day before it was due. Then, the due date was extended. We could have used the time to try and get our prediction values to be even tighter, but we did not.

Most of the week in class we went over some of the neat little features that Python has including assignments and unpacking. During the last couple of weeks we touched a bit on Python generators, and for project 2 Keyon and I used a generator and some fun syntax that we had never seen used before in other languages. All in all, I think that this language can be a bit confusing, even after taking a programming languages course, when looking at the different types, and how list comprehension works. As soon as I felt like I had a grasp on some of it, we had a quiz, and I ended up mixing around what I thought would work and what I thought did not work. But, as I usually find is true for myself, making mistakes and being shown the correct answers helps me out in the long run to hopefully not make the same mistakes twice.

One new thing this week was the book we are reading. Our weekly assigned reading had us finish up the XP Installed book the week before last and onto Database Design with UML and SQL this week. This is the second of three books used in the class and is available online. Hooray for saving some money!

Well, with the project turned in and the weekend coming to a close I wonder if we will begin looking at some Project 3 information and get started with that, or if we will be diving even deeper into Python before continuing on that way. Our first test is next week, so it's definitely time to look back at what's been learned and taught thus far.

Talk to you next time,

Sophie


No comments:

Post a Comment