Skip to content

Instantly share code, notes, and snippets.

@ajayborra
Created November 5, 2018 20:01
Show Gist options
  • Save ajayborra/b153139d04a93c9b556460b4c97987af to your computer and use it in GitHub Desktop.
Save ajayborra/b153139d04a93c9b556460b4c97987af to your computer and use it in GitHub Desktop.
Linear Regression Model Output
Coefficients: [76738.94522230534,14903.054273122021,-18332.757718162775,50003.22137242165,-42713.72451462165,16547.521499666713,-90676.93313902401,-85365.66935383904] Intercept: 206772.90073196447
numIterations: 101
objectiveHistory: [0.5,0.429025021421256,0.26855114619613496,0.22652891956525684,0.21499857945908582,0.20773178001678289,0.19514784970174676,0.1885232671505026,0.1859671425971781,0.1853561326312991,0.18457399881973188,0.18441537651204076,0.18373103793910683,0.18350208412916771,0.1823597273673587,0.18229316947052004,0.18218622679968952,0.18215858300437648,0.18213798185173202,0.1821246023017618,0.18211459711626019,0.18209961828343316,0.18208837731785227,0.18205588604904863,0.1820434687407733,0.1820208677601439,0.18200624291405224,0.18200467173854357,0.18199278217947065,0.18199099118402143,0.18198050302769553,0.1819789044800163,0.18196944209901966,0.1819675578082704,0.18195935806645552,0.18195583674748167,0.18194791834626967,0.1819391408347191,0.1819311038867398,0.1819225377989266,0.18191655895966014,0.18190851174762848,0.18190363033484025,0.1818959409176114,0.18189156441553492,0.18188376965718034,0.18187948424747338,0.18187360174546469,0.18186895573232031,0.1818635331831013,0.1818584295438534,0.1818534353328115,0.1818477940447873,0.18184338131598446,0.1818370520009538,0.18183019469423445,0.18182623652061064,0.18181992818323542,0.18181479669876457,0.18180980523170026,0.18180828991921147,0.18180289998437538,0.1818009106789837,0.1817973011799926,0.18179518581366086,0.18179204915301264,0.18178992998002239,0.18178753203578832,0.18178555677441152,0.18178259277789513,0.18178126191707356,0.1817752061445554,0.18177052282864672,0.1817656813431612,0.18175784283297136,0.1817571920872549,0.18175514410840932,0.18175445013903024,0.18175257430793876,0.1817519142927131,0.1817502604701024,0.18174969009013336,0.18174822566214843,0.18174793601506734,0.18174738819241323,0.18174606666583532,0.1817457064933114,0.1817448402686882,0.18174442260634774,0.18174371450337473,0.18174341969111288,0.1817427069503691,0.18174243139117785,0.18174180325170708,0.18174152008293612,0.18174083826101903,0.1817405847778775,0.18173984443252902,0.18173934292707547,0.18173882279925963,0.18173828427045613]
RMSE: 69593.10829328775
r2: 0.6365386822854913
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment