I have some trouble to apply a multivariate linear regression on my data. I have two features gross_area which is continuous, nb_bathrooms which is discrete (1,2,3) and a dependent variable y which is the price. Firstly I have looked at the feature's distribution which is not normal (Skewed right). I removed some outliers. I standardized my features.I use OLS as cost function and "batch" gradient descent in order to find my parameters.
I find my parameter I plot separately the gross_area against the price with parameter gross_area and the y-intercept, and a plot of the nb_bathrooms against the price with parameter nb_bathrooms and the y-intercept also.

This is what I got for the gross_area:

And for the nb_bedrooms:


So my questions are the following,
How can I fit data like nb_bedrooms since I tried polynomial terms but does not seem to fit them better.

Thank you,


Question: Home Network Router Used as Gateway Develops High Latency
Answer: I would suggest doing first a factory reset by pressing and holding the reset button of the router for straight 30 seconds while powering on.

If that helps, everything is fine. But if it doesn't, then the prognosis is less than optimal.

Other people in your situation have given the following advice.

From Resetting Router after Firmware Upgrade says
(frankly it sounds like black magic, but some people claim it helps) :


  I was told by Linksys Support that I should Reset my router after
  updating the Firmware. I had never heard of this before. They gave me
  the procedures below :
  
  
  Press and hold the reset button of the router for straight 30 seconds while powered on, and then unplug the power cord for 10
  seconds and power up again.
  Connect a PC to the port 3 of the router then restart the PC. (This PC should be the one that can get online if directly connected to the
  modem). No connection yet to the modem, so only router and computer.
  Access the router's setup page then on that PC.
  To access the router's setup page, launch an Internet Explorer browser [or any browser you are using if you don't have IE]. On the
  address bar, please type 192.168.1.1 and then hit Enter/Return key. A
  log-in screen will appear.
  A log-in screen will appear. Please leave the username blank or empty and type admin for the password in lowercase and then hit OK.
  On the router's setup page, click on the MAC Address Clone sub tab and click on Clone your PC's MAC then save the settings.
  Click on the Wireless tab. Change the SSID from linksys to your family name or any name that never existed as a wireless network
  before to avoid network interference.
  Change the channel to 11 as well and make sure that your SSID Broadcast is enabled. Click on Save Settings.
  Click on the Security tab and disable or uncheck the 'Block Anonymous Internet Requests', then click on Save Settings.
  Go back to the Setup tab and look for the Local IP Address which is 192.168.1.1.
  Change the IP address to 192.168.2.1 then save the settings.
  Connect modem to Internet/WAN port of the router and shut down everything for 2 minutes.
  Power on. (Starting from the modem then the router and lastly your PC).
  


From Slow Wireless Connection (WRT54G2)
(looks like this is oriented toward wireless, but may be worth trying) :


  
  Open up the browser and on the address bar type 192.168.1.1 that will    open up the Router setup page.
  Lower the MTU (Maximum Transmission Unit) from 1500 to 1400 or less    (usually found on your routers main/ basic setup page)
  Then go to the Wireless tab, keep network mode as mixed, make the    Channel Width to 20 MHz only and Channel to 6, 9, 11..
  Adjust the following advanced wireless settings:
  
  Lower the beacon interval from 100 to 75
  Lower the fragmentation threshold from 2346 to 2306
  Lower the RTS threshold from 2347 to 2304
  
  


If nothing helps, then you are not the only frustrated owner of the WRT54G2.

In case you would like to try DD-WRT anyway, this wikipedia article lists
versions v1-1.3 of the router as compatible, but not v1.5.
Here is the installation procedure.