I made it to chapter 5 of the Python 3 course and can follow the material pretty good. Then I found Project: Reggie’s Linear Regression and I can’t understand why it’s there at this stage of my path to learn Python!?
Sorry but I hate those kind of traditional school like assignments with a passion! The language is too vague and I fail to visualise what I’m supposed to produce as a result. It simply too vague and that’s makes it not only difficult but simply impossible and frustrating for me to understand.
- I don’t feel Python Notebooks are appropriate at this point. (but iPython Notebooks on Azure is convenient)
- The assignment is too abstract.
" We will use loops, lists, and arithmetic to create a function that will find a line of best fit when given a set of data."
" Reggie wants to try a bunch of different
m values and
b values and see which line produces the least error. To calculate error between a point and a line, he wants a function called
calculate_error() , which will take in
b , and an [x, y] point called
point and return the distance between the line and the point."
- An example of the desired result / solution would have been helpful.
So unfortunately I have to skip this Project… I’m pretty sure I could write the code if I understood the assignment, but how it is now I fail to understand.
Why not an assignment like a game, a tool or something else instead of forcing us to data analysing before we are ready? What I like and appreciate about Codecademy are that it takes baby steps trough the material, building on previous material teaching step by step. Unfortunately Reggrions Linear’s Regression doesn’t do that.
PS : Even looking at the solution, and asking someone who is a financial analyst to explain, I still don’t understand the whole thing. This assignment is assuming too much level too soon and fast from some students like me! Teaching Data Analysing is cool but first create the context teaching about it step by step.