Skip to content

Instantly share code, notes, and snippets.

@ajayborra
Created November 5, 2018 19:59
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ajayborra/98dd0e0697b62484978039f797a03a36 to your computer and use it in GitHub Desktop.
Scaled Features Output
+----------------+--------------------+--------------------+
|medianHouseValue| features| scaledFeatures|
+----------------+--------------------+--------------------+
| 452600.0|[8.3252,41.0,880....|[2.34470895611761...|
| 358500.0|[8.3014,21.0,7099...|[2.33218146484030...|
| 352100.0|[7.2574,52.0,1467...|[1.78265621721384...|
| 341300.0|[5.6431,52.0,1274...|[0.93294490759373...|
| 342200.0|[3.8462,52.0,1627...|[-0.0128806838430...|
| 269700.0|[4.0368,52.0,919....|[0.08744451941137...|
| 299200.0|[3.6591,52.0,2535...|[-0.1113636089684...|
| 241400.0|[3.12,52.0,3104.0...|[-0.3951270773548...|
| 226700.0|[2.0804,42.0,2555...|[-0.9423363181905...|
| 261100.0|[3.6912,52.0,3549...|[-0.0944672866994...|
| 281500.0|[3.2031,52.0,2202...|[-0.3513861309202...|
| 241800.0|[3.2705,52.0,3503...|[-0.3159091178071...|
| 213500.0|[3.075,52.0,2491....|[-0.4188135104422...|
| 191300.0|[2.6736,52.0,696....|[-0.6300964935813...|
| 159200.0|[1.9167,52.0,2643...|[-1.0285022981105...|
| 140000.0|[2.125,50.0,1120....|[-0.9188604311750...|
| 152500.0|[2.775,52.0,1966....|[-0.5767230643578...|
| 155500.0|[2.1202,52.0,1228...|[-0.9213869840377...|
| 158700.0|[1.9911,50.0,2239...|[-0.9893407287394...|
| 162900.0|[2.6033,52.0,1503...|[-0.6670999657155...|
+----------------+--------------------+--------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment