locked
Multi-variate Linear regression problem RRS feed

  • Question

  • Hi Forum,

    I have data as follows:

       Day            Capacity     Booked    Occupied

    1-01-2012        123          136           123

    2-01-2012        123          122           109

    3-01-2012        123          115           101

    4-01-2012        123          109           99

    ...............................................................

    ..............................................................

    1-10-2012        123          158           122

    Now my problem is to predict the Occupied value for the date 02-10-2012?

    I have considered the Booked,Occupied columns as Vectors & excluded Capacity column as it is constant, How to accomodate Date field into vectors to solve

    linear regression problem?


    Regards, Suresh Gorakala

    Sunday, October 14, 2012 5:12 AM

Answers

  • Got the Solution my self :)

    converted the date into three columns of the input venctor like [4 01 12 ........].


    Regards, Suresh Gorakala

    Monday, October 15, 2012 3:50 AM