Project - Bike Rental Forecasting

39 / 49

End to End Project - Bikes Assessment - Analyzing dataset - Transformed Working/ Nonworking Hours

Plotting Transformed Work hours versus the count

In accordance with our previous observation, we shall plot the demand counts for each of the transformed work hours which includes working and non-working hours.

Task: Complete the statement to plot detrended count and the xformWorkHr.

Hint

        fig = plt.figure(figsize=(8, 6))
        fig.clf()
        ax = fig.gca()
        bikesData.plot(kind='scatter', x = 'xformWorkHr', y = 'cntDeTrended', alpha = 0.5)
        plt.show()

*Observation: *

  • Clearly there is a different trend observed for working hours (0-23) and non-working hours (24-47). The pattern of demand is fairly complex.

  • There are two humps corresponding to peak commute times in the working hours. One fairly smooth hump characterizes nonworking hour demand.

* Action: *

  • We can model xformWorkHr in the algorithm and check if it improves the model.

No hints are availble for this assesment

Answer is not availble for this assesment


Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...