Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
surejinwu(吴晓军) committed Nov 6, 2016
1 parent f43b83a commit e6a0625
Show file tree
Hide file tree
Showing 15 changed files with 773 additions and 290 deletions.
297 changes: 97 additions & 200 deletions linear_regression/data/ex1.txt
Original file line number Diff line number Diff line change
@@ -1,200 +1,97 @@
1.000000 0.635975 4.093119
1.000000 0.552438 3.804358
1.000000 0.855922 4.456531
1.000000 0.083386 3.187049
1.000000 0.975802 4.506176
1.000000 0.181269 3.171914
1.000000 0.129156 3.053996
1.000000 0.605648 3.974659
1.000000 0.301625 3.542525
1.000000 0.698805 4.234199
1.000000 0.226419 3.405937
1.000000 0.519290 3.932469
1.000000 0.354424 3.514051
1.000000 0.118380 3.105317
1.000000 0.512811 3.843351
1.000000 0.236795 3.576074
1.000000 0.353509 3.544471
1.000000 0.481447 3.934625
1.000000 0.060509 3.228226
1.000000 0.174090 3.300232
1.000000 0.806818 4.331785
1.000000 0.531462 3.908166
1.000000 0.853167 4.386918
1.000000 0.304804 3.617260
1.000000 0.612021 4.082411
1.000000 0.620880 3.949470
1.000000 0.580245 3.984041
1.000000 0.742443 4.251907
1.000000 0.110770 3.115214
1.000000 0.742687 4.234319
1.000000 0.574390 3.947544
1.000000 0.986378 4.532519
1.000000 0.294867 3.510392
1.000000 0.472125 3.927832
1.000000 0.872321 4.631825
1.000000 0.843537 4.482263
1.000000 0.864577 4.487656
1.000000 0.341874 3.486371
1.000000 0.097980 3.137514
1.000000 0.757874 4.212660
1.000000 0.877656 4.506268
1.000000 0.457993 3.800973
1.000000 0.475341 3.975979
1.000000 0.848391 4.494447
1.000000 0.746059 4.244715
1.000000 0.153462 3.019251
1.000000 0.694256 4.277945
1.000000 0.498712 3.812414
1.000000 0.023580 3.116973
1.000000 0.976826 4.617363
1.000000 0.624004 4.005158
1.000000 0.472220 3.874188
1.000000 0.390551 3.630228
1.000000 0.021349 3.145849
1.000000 0.173488 3.192618
1.000000 0.971028 4.540226
1.000000 0.595302 3.835879
1.000000 0.097638 3.141948
1.000000 0.745972 4.323316
1.000000 0.676390 4.204829
1.000000 0.488949 3.946710
1.000000 0.982873 4.666332
1.000000 0.296060 3.482348
1.000000 0.228008 3.451286
1.000000 0.671059 4.186388
1.000000 0.379419 3.595223
1.000000 0.285170 3.534446
1.000000 0.236314 3.420891
1.000000 0.629803 4.115553
1.000000 0.770272 4.257463
1.000000 0.493052 3.934798
1.000000 0.631592 4.154963
1.000000 0.965676 4.587470
1.000000 0.598675 3.944766
1.000000 0.351997 3.480517
1.000000 0.342001 3.481382
1.000000 0.661424 4.253286
1.000000 0.140912 3.131670
1.000000 0.373574 3.527099
1.000000 0.223166 3.378051
1.000000 0.908785 4.578960
1.000000 0.915102 4.551773
1.000000 0.410940 3.634259
1.000000 0.754921 4.167016
1.000000 0.764453 4.217570
1.000000 0.101534 3.237201
1.000000 0.780368 4.353163
1.000000 0.819868 4.342184
1.000000 0.173990 3.236950
1.000000 0.330472 3.509404
1.000000 0.162656 3.242535
1.000000 0.476283 3.907937
1.000000 0.636391 4.108455
1.000000 0.758737 4.181959
1.000000 0.778372 4.251103
1.000000 0.936287 4.538462
1.000000 0.510904 3.848193
1.000000 0.515737 3.974757
1.000000 0.437823 3.708323
1.000000 0.828607 4.385210
1.000000 0.556100 3.927788
1.000000 0.038209 3.187881
1.000000 0.321993 3.444542
1.000000 0.067288 3.199263
1.000000 0.774989 4.285745
1.000000 0.566077 3.878557
1.000000 0.796314 4.155745
1.000000 0.746600 4.197772
1.000000 0.360778 3.524928
1.000000 0.397321 3.525692
1.000000 0.062142 3.211318
1.000000 0.379250 3.570495
1.000000 0.248238 3.462431
1.000000 0.682561 4.206177
1.000000 0.355393 3.562322
1.000000 0.889051 4.595215
1.000000 0.733806 4.182694
1.000000 0.153949 3.320695
1.000000 0.036104 3.122670
1.000000 0.388577 3.541312
1.000000 0.274481 3.502135
1.000000 0.319401 3.537559
1.000000 0.431653 3.712609
1.000000 0.960398 4.504875
1.000000 0.083660 3.262164
1.000000 0.122098 3.105583
1.000000 0.415299 3.742634
1.000000 0.854192 4.566589
1.000000 0.925574 4.630884
1.000000 0.109306 3.190539
1.000000 0.805161 4.289105
1.000000 0.344474 3.406602
1.000000 0.769116 4.251899
1.000000 0.182003 3.183214
1.000000 0.225972 3.342508
1.000000 0.413088 3.747926
1.000000 0.964444 4.499998
1.000000 0.203334 3.350089
1.000000 0.285574 3.539554
1.000000 0.850209 4.443465
1.000000 0.061561 3.290370
1.000000 0.426935 3.733302
1.000000 0.389376 3.614803
1.000000 0.096918 3.175132
1.000000 0.148938 3.164284
1.000000 0.893738 4.619629
1.000000 0.195527 3.426648
1.000000 0.407248 3.670722
1.000000 0.224357 3.412571
1.000000 0.045963 3.110330
1.000000 0.944647 4.647928
1.000000 0.756552 4.164515
1.000000 0.432098 3.730603
1.000000 0.990511 4.609868
1.000000 0.649699 4.094111
1.000000 0.584879 3.907636
1.000000 0.785934 4.240814
1.000000 0.029945 3.106915
1.000000 0.075747 3.201181
1.000000 0.408408 3.872302
1.000000 0.583851 3.860890
1.000000 0.497759 3.884108
1.000000 0.421301 3.696816
1.000000 0.140320 3.114540
1.000000 0.546465 3.791233
1.000000 0.843181 4.443487
1.000000 0.295390 3.535337
1.000000 0.825059 4.417975
1.000000 0.946343 4.742471
1.000000 0.350404 3.470964
1.000000 0.042787 3.113381
1.000000 0.352487 3.594600
1.000000 0.590736 3.914875
1.000000 0.120748 3.108492
1.000000 0.143140 3.152725
1.000000 0.511926 3.994118
1.000000 0.496358 3.933417
1.000000 0.382802 3.510829
1.000000 0.252464 3.498402
1.000000 0.845894 4.460441
1.000000 0.132023 3.245277
1.000000 0.442301 3.771067
1.000000 0.266889 3.434771
1.000000 0.008575 2.999612
1.000000 0.897632 4.454221
1.000000 0.533171 3.985348
1.000000 0.285243 3.557982
1.000000 0.377258 3.625972
1.000000 0.486995 3.922226
1.000000 0.305993 3.547421
1.000000 0.277528 3.580944
1.000000 0.750899 4.268081
1.000000 0.694756 4.278096
1.000000 0.870158 4.517640
1.000000 0.276457 3.555461
1.000000 0.017761 3.055026
1.000000 0.802046 4.354819
1.000000 0.559275 3.894387
1.000000 0.941305 4.597773
1.000000 0.856877 4.523616
6.1101 17.592
5.5277 9.1302
8.5186 13.662
7.0032 11.854
5.8598 6.8233
8.3829 11.886
7.4764 4.3483
8.5781 12
6.4862 6.5987
5.0546 3.8166
5.7107 3.2522
14.164 15.505
5.734 3.1551
8.4084 7.2258
5.6407 0.71618
5.3794 3.5129
6.3654 5.3048
5.1301 0.56077
6.4296 3.6518
7.0708 5.3893
6.1891 3.1386
20.27 21.767
5.4901 4.263
6.3261 5.1875
5.5649 3.0825
18.945 22.638
12.828 13.501
10.957 7.0467
13.176 14.692
22.203 24.147
5.2524 -1.22
6.5894 5.9966
9.2482 12.134
5.8918 1.8495
8.2111 6.5426
7.9334 4.5623
8.0959 4.1164
5.6063 3.3928
12.836 10.117
6.3534 5.4974
5.4069 0.55657
6.8825 3.9115
11.708 5.3854
5.7737 2.4406
7.8247 6.7318
7.0931 1.0463
5.0702 5.1337
5.8014 1.844
11.7 8.0043
5.5416 1.0179
7.5402 6.7504
5.3077 1.8396
7.4239 4.2885
7.6031 4.9981
6.3328 1.4233
6.3589 -1.4211
6.2742 2.4756
5.6397 4.6042
9.3102 3.9624
9.4536 5.4141
8.8254 5.1694
5.1793 -0.74279
21.279 17.929
14.908 12.054
18.959 17.054
7.2182 4.8852
8.2951 5.7442
10.236 7.7754
5.4994 1.0173
20.341 20.992
10.136 6.6799
7.3345 4.0259
6.0062 1.2784
7.2259 3.3411
5.0269 -2.6807
6.5479 0.29678
7.5386 3.8845
5.0365 5.7014
10.274 6.7526
5.1077 2.0576
5.7292 0.47953
5.1884 0.20421
6.3557 0.67861
9.7687 7.5435
6.5159 5.3436
8.5172 4.2415
9.1802 6.7981
6.002 0.92695
5.5204 0.152
5.0594 2.8214
5.7077 1.8451
7.6366 4.2959
5.8707 7.2029
5.3054 1.9869
8.2934 0.14454
13.394 9.0551
5.4369 0.61705
47 changes: 47 additions & 0 deletions linear_regression/data/houses.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
2104 3 399900
1600 3 329900
2400 3 369000
1416 2 232000
3000 4 539900
1985 4 299900
1534 3 314900
1427 3 198999
1380 3 212000
1494 3 242500
1940 4 239999
2000 3 347000
1890 3 329999
4478 5 699900
1268 3 259900
2300 4 449900
1320 2 299900
1236 3 199900
2609 4 499998
3031 4 599000
1767 3 252900
1888 2 255000
1604 3 242900
1962 4 259900
3890 3 573900
1100 3 249900
1458 3 464500
2526 3 469000
2200 3 475000
2637 3 299900
1839 2 349900
1000 1 169900
2040 4 314900
3137 3 579900
1811 4 285900
1437 3 249900
1239 3 229900
2132 4 345000
4215 4 549000
2162 4 287000
1664 2 368500
2238 3 329900
2567 4 314000
1200 3 299000
852 2 179900
1852 4 299900
1203 3 239500
6 changes: 6 additions & 0 deletions linear_regression/data/lwr.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
1 1.0
2 2.0
3 3.0
4 3.15
5 3.25
6 3.5
15 changes: 15 additions & 0 deletions linear_regression/data/temperature.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
50 3.3
50 2.8
50 2.9
70 2.3
70 2.6
70 2.1
80 2.5
80 2.9
80 2.4
90 3.0
90 3.1
90 2.8
100 3.3
100 3.5
100 3.0
23 changes: 23 additions & 0 deletions linear_regression/npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
0 info it worked if it ends with ok
1 verbose cli [ '/Users/feiyu06/.nvm/versions/node/v6.2.1/bin/node',
1 verbose cli '/Users/feiyu06/.nvm/versions/node/v6.2.1/bin/npm',
1 verbose cli 'run',
1 verbose cli 'start-dev-server' ]
2 info using npm@3.9.3
3 info using node@v6.2.1
4 verbose stack Error: ENOENT: no such file or directory, open '/Users/feiyu06/Projects2016/ml/linear_regression/package.json'
4 verbose stack at Error (native)
5 verbose cwd /Users/feiyu06/Projects2016/ml/linear_regression
6 error Darwin 15.6.0
7 error argv "/Users/feiyu06/.nvm/versions/node/v6.2.1/bin/node" "/Users/feiyu06/.nvm/versions/node/v6.2.1/bin/npm" "run" "start-dev-server"
8 error node v6.2.1
9 error npm v3.9.3
10 error path /Users/feiyu06/Projects2016/ml/linear_regression/package.json
11 error code ENOENT
12 error errno -2
13 error syscall open
14 error enoent ENOENT: no such file or directory, open '/Users/feiyu06/Projects2016/ml/linear_regression/package.json'
15 error enoent ENOENT: no such file or directory, open '/Users/feiyu06/Projects2016/ml/linear_regression/package.json'
15 error enoent This is most likely not a problem with npm itself
15 error enoent and is related to npm not being able to find a file.
16 verbose exit [ -2, true ]

0 comments on commit e6a0625

Please sign in to comment.