Project - Bike Rental Forecasting

37 / 49

End to End Project - Bikes Assessment - Analyzing dataset - Scatter Matrix

Scatter Matrix

Task: Complete the statements to plot the scatter matrix for these columns: ['temp', 'hum', 'windspeed', 'hr', 'xformHr', 'cntDeTrended']

Hint

        columnToPlotScatter = ['temp','hum','windspeed','hr','xformHr','cntDeTrended']
        from pandas.plotting import scatter_matrix
        scatter_matrix(bikesData[columnToPlotScatter], figsize=(12,8))
        plt.show()

*Observations: *

  1. There seems to be a clear trend of generally-decreasing bike demand with increased humidity. However, at the low end of humidity, the data is sparse and the trend is less certain. We will need to proceed with care.

  2. Also, the scatter plot shows some relation between bike demands versus temperature. However, the complex behavior exhibited is a warning that we may have trouble modeling this feature.

*Action: *

  1. Validating our previous observation, 'temp' can be a good feature to train the data.

  2. 'hum' can also be explored.

  3. 'windspeed' can be comfortably ignored while training the data.


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...