initial commit

This commit is contained in:
2018-08-13 11:22:36 +09:00
commit 0ae676dd96
15 changed files with 12519 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.vs/

9472
data/AirQualityUCI.csv Normal file

File diff suppressed because it is too large Load Diff

1503
data/airfoil_self_noise.dat Normal file

File diff suppressed because it is too large Load Diff

399
data/auto-mpg.data Normal file
View File

@@ -0,0 +1,399 @@
mpg cylinders displacement horsepower weight acceleration model year origin
18 8 307 130 3504 12 70 1
15 8 350 165 3693 11.5 70 1
18 8 318 150 3436 11 70 1
16 8 304 150 3433 12 70 1
17 8 302 140 3449 10.5 70 1
15 8 429 198 4341 10 70 1
14 8 454 220 4354 9 70 1
14 8 440 215 4312 8.5 70 1
14 8 455 225 4425 10 70 1
15 8 390 190 3850 8.5 70 1
15 8 383 170 3563 10 70 1
14 8 340 160 3609 8 70 1
15 8 400 150 3761 9.5 70 1
14 8 455 225 3086 10 70 1
24 4 113 95 2372 15 70 3
22 6 198 95 2833 15.5 70 1
18 6 199 97 2774 15.5 70 1
21 6 200 85 2587 16 70 1
27 4 97 88 2130 14.5 70 3
26 4 97 46 1835 20.5 70 2
25 4 110 87 2672 17.5 70 2
24 4 107 90 2430 14.5 70 2
25 4 104 95 2375 17.5 70 2
26 4 121 113 2234 12.5 70 2
21 6 199 90 2648 15 70 1
10 8 360 215 4615 14 70 1
10 8 307 200 4376 15 70 1
11 8 318 210 4382 13.5 70 1
9 8 304 193 4732 18.5 70 1
27 4 97 88 2130 14.5 71 3
28 4 140 90 2264 15.5 71 1
25 4 113 95 2228 14 71 3
25 4 98 ? 2046 19 71 1
19 6 232 100 2634 13 71 1
16 6 225 105 3439 15.5 71 1
17 6 250 100 3329 15.5 71 1
19 6 250 88 3302 15.5 71 1
18 6 232 100 3288 15.5 71 1
14 8 350 165 4209 12 71 1
14 8 400 175 4464 11.5 71 1
14 8 351 153 4154 13.5 71 1
14 8 318 150 4096 13 71 1
12 8 383 180 4955 11.5 71 1
13 8 400 170 4746 12 71 1
13 8 400 175 5140 12 71 1
18 6 258 110 2962 13.5 71 1
22 4 140 72 2408 19 71 1
19 6 250 100 3282 15 71 1
18 6 250 88 3139 14.5 71 1
23 4 122 86 2220 14 71 1
28 4 116 90 2123 14 71 2
30 4 79 70 2074 19.5 71 2
30 4 88 76 2065 14.5 71 2
31 4 71 65 1773 19 71 3
35 4 72 69 1613 18 71 3
27 4 97 60 1834 19 71 2
26 4 91 70 1955 20.5 71 1
24 4 113 95 2278 15.5 72 3
25 4 97.5 80 2126 17 72 1
23 4 97 54 2254 23.5 72 2
20 4 140 90 2408 19.5 72 1
21 4 122 86 2226 16.5 72 1
13 8 350 165 4274 12 72 1
14 8 400 175 4385 12 72 1
15 8 318 150 4135 13.5 72 1
14 8 351 153 4129 13 72 1
17 8 304 150 3672 11.5 72 1
11 8 429 208 4633 11 72 1
13 8 350 155 4502 13.5 72 1
12 8 350 160 4456 13.5 72 1
13 8 400 190 4422 12.5 72 1
19 3 70 97 2330 13.5 72 3
15 8 304 150 3892 12.5 72 1
13 8 307 130 4098 14 72 1
13 8 302 140 4294 16 72 1
14 8 318 150 4077 14 72 1
18 4 121 112 2933 14.5 72 2
22 4 121 76 2511 18 72 2
21 4 120 87 2979 19.5 72 2
26 4 96 69 2189 18 72 2
22 4 122 86 2395 16 72 1
28 4 97 92 2288 17 72 3
23 4 120 97 2506 14.5 72 3
28 4 98 80 2164 15 72 1
27 4 97 88 2100 16.5 72 3
13 8 350 175 4100 13 73 1
14 8 304 150 3672 11.5 73 1
13 8 350 145 3988 13 73 1
14 8 302 137 4042 14.5 73 1
15 8 318 150 3777 12.5 73 1
12 8 429 198 4952 11.5 73 1
13 8 400 150 4464 12 73 1
13 8 351 158 4363 13 73 1
14 8 318 150 4237 14.5 73 1
13 8 440 215 4735 11 73 1
12 8 455 225 4951 11 73 1
13 8 360 175 3821 11 73 1
18 6 225 105 3121 16.5 73 1
16 6 250 100 3278 18 73 1
18 6 232 100 2945 16 73 1
18 6 250 88 3021 16.5 73 1
23 6 198 95 2904 16 73 1
26 4 97 46 1950 21 73 2
11 8 400 150 4997 14 73 1
12 8 400 167 4906 12.5 73 1
13 8 360 170 4654 13 73 1
12 8 350 180 4499 12.5 73 1
18 6 232 100 2789 15 73 1
20 4 97 88 2279 19 73 3
21 4 140 72 2401 19.5 73 1
22 4 108 94 2379 16.5 73 3
18 3 70 90 2124 13.5 73 3
19 4 122 85 2310 18.5 73 1
21 6 155 107 2472 14 73 1
26 4 98 90 2265 15.5 73 2
15 8 350 145 4082 13 73 1
16 8 400 230 4278 9.5 73 1
29 4 68 49 1867 19.5 73 2
24 4 116 75 2158 15.5 73 2
20 4 114 91 2582 14 73 2
19 4 121 112 2868 15.5 73 2
15 8 318 150 3399 11 73 1
24 4 121 110 2660 14 73 2
20 6 156 122 2807 13.5 73 3
11 8 350 180 3664 11 73 1
20 6 198 95 3102 16.5 74 1
21 6 200 ? 2875 17 74 1
19 6 232 100 2901 16 74 1
15 6 250 100 3336 17 74 1
31 4 79 67 1950 19 74 3
26 4 122 80 2451 16.5 74 1
32 4 71 65 1836 21 74 3
25 4 140 75 2542 17 74 1
16 6 250 100 3781 17 74 1
16 6 258 110 3632 18 74 1
18 6 225 105 3613 16.5 74 1
16 8 302 140 4141 14 74 1
13 8 350 150 4699 14.5 74 1
14 8 318 150 4457 13.5 74 1
14 8 302 140 4638 16 74 1
14 8 304 150 4257 15.5 74 1
29 4 98 83 2219 16.5 74 2
26 4 79 67 1963 15.5 74 2
26 4 97 78 2300 14.5 74 2
31 4 76 52 1649 16.5 74 3
32 4 83 61 2003 19 74 3
28 4 90 75 2125 14.5 74 1
24 4 90 75 2108 15.5 74 2
26 4 116 75 2246 14 74 2
24 4 120 97 2489 15 74 3
26 4 108 93 2391 15.5 74 3
31 4 79 67 2000 16 74 2
19 6 225 95 3264 16 75 1
18 6 250 105 3459 16 75 1
15 6 250 72 3432 21 75 1
15 6 250 72 3158 19.5 75 1
16 8 400 170 4668 11.5 75 1
15 8 350 145 4440 14 75 1
16 8 318 150 4498 14.5 75 1
14 8 351 148 4657 13.5 75 1
17 6 231 110 3907 21 75 1
16 6 250 105 3897 18.5 75 1
15 6 258 110 3730 19 75 1
18 6 225 95 3785 19 75 1
21 6 231 110 3039 15 75 1
20 8 262 110 3221 13.5 75 1
13 8 302 129 3169 12 75 1
29 4 97 75 2171 16 75 3
23 4 140 83 2639 17 75 1
20 6 232 100 2914 16 75 1
23 4 140 78 2592 18.5 75 1
24 4 134 96 2702 13.5 75 3
25 4 90 71 2223 16.5 75 2
24 4 119 97 2545 17 75 3
18 6 171 97 2984 14.5 75 1
29 4 90 70 1937 14 75 2
19 6 232 90 3211 17 75 1
23 4 115 95 2694 15 75 2
23 4 120 88 2957 17 75 2
22 4 121 98 2945 14.5 75 2
25 4 121 115 2671 13.5 75 2
33 4 91 53 1795 17.5 75 3
28 4 107 86 2464 15.5 76 2
25 4 116 81 2220 16.9 76 2
25 4 140 92 2572 14.9 76 1
26 4 98 79 2255 17.7 76 1
27 4 101 83 2202 15.3 76 2
17.5 8 305 140 4215 13 76 1
16 8 318 150 4190 13 76 1
15.5 8 304 120 3962 13.9 76 1
14.5 8 351 152 4215 12.8 76 1
22 6 225 100 3233 15.4 76 1
22 6 250 105 3353 14.5 76 1
24 6 200 81 3012 17.6 76 1
22.5 6 232 90 3085 17.6 76 1
29 4 85 52 2035 22.2 76 1
24.5 4 98 60 2164 22.1 76 1
29 4 90 70 1937 14.2 76 2
33 4 91 53 1795 17.4 76 3
20 6 225 100 3651 17.7 76 1
18 6 250 78 3574 21 76 1
18.5 6 250 110 3645 16.2 76 1
17.5 6 258 95 3193 17.8 76 1
29.5 4 97 71 1825 12.2 76 2
32 4 85 70 1990 17 76 3
28 4 97 75 2155 16.4 76 3
26.5 4 140 72 2565 13.6 76 1
20 4 130 102 3150 15.7 76 2
13 8 318 150 3940 13.2 76 1
19 4 120 88 3270 21.9 76 2
19 6 156 108 2930 15.5 76 3
16.5 6 168 120 3820 16.7 76 2
16.5 8 350 180 4380 12.1 76 1
13 8 350 145 4055 12 76 1
13 8 302 130 3870 15 76 1
13 8 318 150 3755 14 76 1
31.5 4 98 68 2045 18.5 77 3
30 4 111 80 2155 14.8 77 1
36 4 79 58 1825 18.6 77 2
25.5 4 122 96 2300 15.5 77 1
33.5 4 85 70 1945 16.8 77 3
17.5 8 305 145 3880 12.5 77 1
17 8 260 110 4060 19 77 1
15.5 8 318 145 4140 13.7 77 1
15 8 302 130 4295 14.9 77 1
17.5 6 250 110 3520 16.4 77 1
20.5 6 231 105 3425 16.9 77 1
19 6 225 100 3630 17.7 77 1
18.5 6 250 98 3525 19 77 1
16 8 400 180 4220 11.1 77 1
15.5 8 350 170 4165 11.4 77 1
15.5 8 400 190 4325 12.2 77 1
16 8 351 149 4335 14.5 77 1
29 4 97 78 1940 14.5 77 2
24.5 4 151 88 2740 16 77 1
26 4 97 75 2265 18.2 77 3
25.5 4 140 89 2755 15.8 77 1
30.5 4 98 63 2051 17 77 1
33.5 4 98 83 2075 15.9 77 1
30 4 97 67 1985 16.4 77 3
30.5 4 97 78 2190 14.1 77 2
22 6 146 97 2815 14.5 77 3
21.5 4 121 110 2600 12.8 77 2
21.5 3 80 110 2720 13.5 77 3
43.1 4 90 48 1985 21.5 78 2
36.1 4 98 66 1800 14.4 78 1
32.8 4 78 52 1985 19.4 78 3
39.4 4 85 70 2070 18.6 78 3
36.1 4 91 60 1800 16.4 78 3
19.9 8 260 110 3365 15.5 78 1
19.4 8 318 140 3735 13.2 78 1
20.2 8 302 139 3570 12.8 78 1
19.2 6 231 105 3535 19.2 78 1
20.5 6 200 95 3155 18.2 78 1
20.2 6 200 85 2965 15.8 78 1
25.1 4 140 88 2720 15.4 78 1
20.5 6 225 100 3430 17.2 78 1
19.4 6 232 90 3210 17.2 78 1
20.6 6 231 105 3380 15.8 78 1
20.8 6 200 85 3070 16.7 78 1
18.6 6 225 110 3620 18.7 78 1
18.1 6 258 120 3410 15.1 78 1
19.2 8 305 145 3425 13.2 78 1
17.7 6 231 165 3445 13.4 78 1
18.1 8 302 139 3205 11.2 78 1
17.5 8 318 140 4080 13.7 78 1
30 4 98 68 2155 16.5 78 1
27.5 4 134 95 2560 14.2 78 3
27.2 4 119 97 2300 14.7 78 3
30.9 4 105 75 2230 14.5 78 1
21.1 4 134 95 2515 14.8 78 3
23.2 4 156 105 2745 16.7 78 1
23.8 4 151 85 2855 17.6 78 1
23.9 4 119 97 2405 14.9 78 3
20.3 5 131 103 2830 15.9 78 2
17 6 163 125 3140 13.6 78 2
21.6 4 121 115 2795 15.7 78 2
16.2 6 163 133 3410 15.8 78 2
31.5 4 89 71 1990 14.9 78 2
29.5 4 98 68 2135 16.6 78 3
21.5 6 231 115 3245 15.4 79 1
19.8 6 200 85 2990 18.2 79 1
22.3 4 140 88 2890 17.3 79 1
20.2 6 232 90 3265 18.2 79 1
20.6 6 225 110 3360 16.6 79 1
17 8 305 130 3840 15.4 79 1
17.6 8 302 129 3725 13.4 79 1
16.5 8 351 138 3955 13.2 79 1
18.2 8 318 135 3830 15.2 79 1
16.9 8 350 155 4360 14.9 79 1
15.5 8 351 142 4054 14.3 79 1
19.2 8 267 125 3605 15 79 1
18.5 8 360 150 3940 13 79 1
31.9 4 89 71 1925 14 79 2
34.1 4 86 65 1975 15.2 79 3
35.7 4 98 80 1915 14.4 79 1
27.4 4 121 80 2670 15 79 1
25.4 5 183 77 3530 20.1 79 2
23 8 350 125 3900 17.4 79 1
27.2 4 141 71 3190 24.8 79 2
23.9 8 260 90 3420 22.2 79 1
34.2 4 105 70 2200 13.2 79 1
34.5 4 105 70 2150 14.9 79 1
31.8 4 85 65 2020 19.2 79 3
37.3 4 91 69 2130 14.7 79 2
28.4 4 151 90 2670 16 79 1
28.8 6 173 115 2595 11.3 79 1
26.8 6 173 115 2700 12.9 79 1
33.5 4 151 90 2556 13.2 79 1
41.5 4 98 76 2144 14.7 80 2
38.1 4 89 60 1968 18.8 80 3
32.1 4 98 70 2120 15.5 80 1
37.2 4 86 65 2019 16.4 80 3
28 4 151 90 2678 16.5 80 1
26.4 4 140 88 2870 18.1 80 1
24.3 4 151 90 3003 20.1 80 1
19.1 6 225 90 3381 18.7 80 1
34.3 4 97 78 2188 15.8 80 2
29.8 4 134 90 2711 15.5 80 3
31.3 4 120 75 2542 17.5 80 3
37 4 119 92 2434 15 80 3
32.2 4 108 75 2265 15.2 80 3
46.6 4 86 65 2110 17.9 80 3
27.9 4 156 105 2800 14.4 80 1
40.8 4 85 65 2110 19.2 80 3
44.3 4 90 48 2085 21.7 80 2
43.4 4 90 48 2335 23.7 80 2
36.4 5 121 67 2950 19.9 80 2
30 4 146 67 3250 21.8 80 2
44.6 4 91 67 1850 13.8 80 3
40.9 4 85 ? 1835 17.3 80 2
33.8 4 97 67 2145 18 80 3
29.8 4 89 62 1845 15.3 80 2
32.7 6 168 132 2910 11.4 80 3
23.7 3 70 100 2420 12.5 80 3
35 4 122 88 2500 15.1 80 2
23.6 4 140 ? 2905 14.3 80 1
32.4 4 107 72 2290 17 80 3
27.2 4 135 84 2490 15.7 81 1
26.6 4 151 84 2635 16.4 81 1
25.8 4 156 92 2620 14.4 81 1
23.5 6 173 110 2725 12.6 81 1
30 4 135 84 2385 12.9 81 1
39.1 4 79 58 1755 16.9 81 3
39 4 86 64 1875 16.4 81 1
35.1 4 81 60 1760 16.1 81 3
32.3 4 97 67 2065 17.8 81 3
37 4 85 65 1975 19.4 81 3
37.7 4 89 62 2050 17.3 81 3
34.1 4 91 68 1985 16 81 3
34.7 4 105 63 2215 14.9 81 1
34.4 4 98 65 2045 16.2 81 1
29.9 4 98 65 2380 20.7 81 1
33 4 105 74 2190 14.2 81 2
34.5 4 100 ? 2320 15.8 81 2
33.7 4 107 75 2210 14.4 81 3
32.4 4 108 75 2350 16.8 81 3
32.9 4 119 100 2615 14.8 81 3
31.6 4 120 74 2635 18.3 81 3
28.1 4 141 80 3230 20.4 81 2
30.7 6 145 76 3160 19.6 81 2
25.4 6 168 116 2900 12.6 81 3
24.2 6 146 120 2930 13.8 81 3
22.4 6 231 110 3415 15.8 81 1
26.6 8 350 105 3725 19 81 1
20.2 6 200 88 3060 17.1 81 1
17.6 6 225 85 3465 16.6 81 1
28 4 112 88 2605 19.6 82 1
27 4 112 88 2640 18.6 82 1
34 4 112 88 2395 18 82 1
31 4 112 85 2575 16.2 82 1
29 4 135 84 2525 16 82 1
27 4 151 90 2735 18 82 1
24 4 140 92 2865 16.4 82 1
23 4 151 ? 3035 20.5 82 1
36 4 105 74 1980 15.3 82 2
37 4 91 68 2025 18.2 82 3
31 4 91 68 1970 17.6 82 3
38 4 105 63 2125 14.7 82 1
36 4 98 70 2125 17.3 82 1
36 4 120 88 2160 14.5 82 3
36 4 107 75 2205 14.5 82 3
34 4 108 70 2245 16.9 82 3
38 4 91 67 1965 15 82 3
32 4 91 67 1965 15.7 82 3
38 4 91 67 1995 16.2 82 3
25 6 181 110 2945 16.4 82 1
38 6 262 85 3015 17 82 1
26 4 156 92 2585 14.5 82 1
22 6 232 112 2835 14.7 82 1
32 4 144 96 2665 13.9 82 3
36 4 135 84 2370 13 82 1
27 4 151 90 2950 17.3 82 1
27 4 140 86 2790 15.6 82 1
44 4 97 52 2130 24.6 82 2
32 4 135 84 2295 11.6 82 1
28 4 120 79 2625 18.6 82 1
31 4 119 82 2720 19.4 82 1

97
data/ex1data1.txt Normal file
View File

@@ -0,0 +1,97 @@
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
data/ex1data2.txt Normal file
View File

@@ -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

9
data/mlr01.csv Normal file
View File

@@ -0,0 +1,9 @@
X1,X2,X3,X4
2.900000095,9.199999809,13.19999981,2
2.400000095,8.699999809,11.5,3
2,7.199999809,10.80000019,4
2.299999952,8.5,12.30000019,2
3.200000048,9.6,12.60000038,3
1.899999976,6.800000191,10.60000038,5
3.400000095,9.699999809,14.10000038,1
2.099999905,7.900000095,11.19999981,3
1 X1 X2 X3 X4
2 2.900000095 9.199999809 13.19999981 2
3 2.400000095 8.699999809 11.5 3
4 2 7.199999809 10.80000019 4
5 2.299999952 8.5 12.30000019 2
6 3.200000048 9.6 12.60000038 3
7 1.899999976 6.800000191 10.60000038 5
8 3.400000095 9.699999809 14.10000038 1
9 2.099999905 7.900000095 11.19999981 3

5
data/sample.txt Normal file
View File

@@ -0,0 +1,5 @@
1,1
2,2
3,3
4,4
5,5

701
data/train.csv Normal file
View File

@@ -0,0 +1,701 @@
x,y
24,21.54945196
50,47.46446305
15,17.21865634
38,36.58639803
87,87.28898389
36,32.46387493
12,10.78089683
81,80.7633986
25,24.61215147
5,6.963319071
16,11.23757338
16,13.53290206
24,24.60323899
39,39.40049976
54,48.43753838
60,61.69900319
26,26.92832418
73,70.4052055
29,29.34092408
31,25.30895192
68,69.02934339
87,84.99484703
58,57.04310305
54,50.5921991
84,83.02772202
58,57.05752706
49,47.95883341
20,24.34226432
90,94.68488281
48,48.03970696
4,7.08132338
25,21.99239907
42,42.33151664
0,0.329089443
60,61.92303698
93,91.17716423
39,39.45358014
7,5.996069607
21,22.59015942
68,61.18044414
84,85.02778957
0,-1.28631089
58,61.94273962
19,21.96033347
36,33.66194193
19,17.60946242
59,58.5630564
51,52.82390762
19,22.1363481
33,35.07467353
85,86.18822311
44,42.63227697
5,4.09817744
59,61.2229864
14,17.70677576
9,11.85312574
75,80.23051695
69,62.64931741
10,9.616859804
17,20.02797699
58,61.7510743
74,71.61010303
21,23.77154623
51,51.90142035
19,22.66073682
50,50.02897927
24,26.68794368
0,0.376911899
12,6.806419002
75,77.33986001
21,28.90260209
64,66.7346608
5,0.707510638
58,57.07748383
32,28.41453196
41,44.46272123
7,7.459605998
4,2.316708112
5,4.928546187
49,52.50336074
90,91.19109623
3,8.489164326
11,6.963371967
32,31.97989959
83,81.4281205
25,22.62365422
83,78.52505087
26,25.80714057
76,73.51081775
95,91.775467
53,49.21863516
77,80.50445387
42,50.05636123
25,25.46292549
54,55.32164264
55,59.1244888
0,1.100686692
73,71.98020786
35,30.13666408
86,83.88427405
90,89.91004752
13,8.335654576
46,47.88388961
46,45.00397413
32,31.15664574
8,9.190375682
71,74.83135003
28,30.23177607
24,24.21914027
56,57.87219151
49,50.61728392
79,78.67470043
90,86.236707
89,89.10409255
41,43.26595082
27,26.68273277
58,59.46383041
26,28.90055826
31,31.300416
70,71.1433266
71,68.4739206
39,39.98238856
7,4.075776144
48,47.85817542
56,51.20390217
45,43.9367213
41,38.13626679
3,3.574661632
37,36.4139958
24,22.21908523
68,63.5312572
47,49.86702787
27,21.53140009
68,64.05710234
74,70.77549842
95,92.15749762
79,81.22259156
21,25.10114067
95,94.08853397
54,53.25166165
56,59.16236621
80,75.24148428
26,28.22325833
25,25.33323728
8,6.364615703
95,95.4609216
94,88.64183756
54,58.70318693
7,6.815491279
99,99.40394676
36,32.77049249
48,47.0586788
65,60.53321778
42,40.30929858
93,89.42222685
86,86.82132066
26,26.11697543
51,53.26657596
100,96.62327888
94,95.78441027
6,6.047286687
24,24.47387908
75,75.96844763
7,3.829381009
53,52.51703683
73,72.80457527
16,14.10999096
80,80.86087062
77,77.01988215
89,86.26972444
80,77.13735466
55,51.47649476
19,17.34557531
56,57.72853572
47,44.15029394
56,59.24362743
2,-1.053275611
82,86.79002254
57,60.14031858
44,44.04222058
26,24.5227488
52,52.95305521
41,43.16133498
44,45.67562576
3,-2.830749501
31,29.19693178
97,96.49812401
21,22.5453232
17,20.10741433
7,4.035430253
61,61.14568518
10,13.97163653
52,55.34529893
10,12.18441166
65,64.00077658
71,70.3188322
4,-0.936895047
24,18.91422276
26,23.87590331
51,47.5775361
42,43.2736092
62,66.48278755
74,75.72605529
77,80.59643338
3,-2.235879852
50,47.04654956
24,21.59635575
37,32.87558963
58,57.95782956
52,52.24760027
27,24.58286902
14,12.12573805
100,100.0158026
#3530.15736917,
72,74.04682658
5,1.611947467
71,70.36836307
54,52.26831735
84,83.1286166
42,43.64765048
54,49.44785426
74,72.6356699
54,52.78130641
53,57.11195136
78,79.1050629
97,101.6228548
49,53.5825402
71,68.92139297
48,46.9666961
51,51.02642868
89,85.52073551
99,99.51685756
93,94.63911256
49,46.78357742
18,21.21321959
65,58.37266004
83,87.22059677
100,102.4967859
41,43.88314335
52,53.06655757
29,26.33464785
97,98.52008934
7,9.400497579
51,52.94026699
58,53.83020877
50,45.94511142
67,65.0132736
89,86.5069584
76,75.63280796
35,36.78035027
99,100.5328916
31,29.04466136
52,51.70352433
11,9.199954718
66,71.70015848
50,49.82634062
39,37.49971096
60,53.65084683
35,33.92561965
53,49.92639685
14,8.148154262
49,49.72359037
16,16.16712757
76,75.30033002
13,9.577368568
51,48.38088357
70,72.95331671
98,92.59573853
86,88.85523586
100,99.00361771
46,45.09439571
51,46.94362684
50,48.33449605
91,94.92329574
48,47.78165248
81,81.28960746
38,37.83155021
40,39.69185252
79,76.92664854
96,88.02990531
60,56.99178872
70,72.58929383
44,44.98103442
11,11.99017641
6,1.919513328
5,1.628826073
72,66.27746655
55,57.53887255
95,94.70291077
41,41.21469904
25,25.04169243
1,3.778209914
55,50.50711779
4,9.682408486
48,48.88147608
55,54.40348599
75,71.70233156
68,69.35848388
100,99.98491591
25,26.03323718
75,75.48910307
34,36.59623056
38,40.95102191
92,86.78316267
21,15.50701184
88,85.86077871
75,79.20610113
76,80.80643766
44,48.59717283
10,13.93415049
21,27.3051179
16,14.00226297
32,33.67416
13,13.11612884
26,24.76649193
70,73.68477876
77,77.53149541
77,76.24503196
88,88.0578931
35,35.02445799
24,21.65857739
17,17.33681562
91,94.36778957
32,33.43396307
36,32.52179399
89,90.57741298
69,71.25634126
30,31.23212856
6,5.398840061
22,18.56241391
67,71.97121038
9,5.225759566
74,73.5964342
50,49.76948983
85,82.69087513
3,1.652309089
0,-3.836652144
59,62.03811556
62,61.26514581
17,13.24991628
90,88.61672694
23,21.13655528
19,23.85017475
93,92.01203405
14,10.26712261
58,54.14681616
87,87.00645713
37,37.69447352
20,19.62278654
35,34.78561007
63,62.03190983
56,52.67003801
62,58.09031476
98,97.19448821
90,90.50155298
51,50.5123462
93,94.45211871
22,21.10794636
38,37.36298431
13,10.28574844
98,96.04932416
99,100.0953697
31,30.6063167
94,96.19000542
73,71.30828034
37,34.59311043
23,19.02332876
11,10.76669688
88,90.5799868
47,48.71787679
79,78.74139764
91,85.23492274
71,71.65789964
10,8.938990554
39,39.89606046
92,91.85091116
99,99.11200375
28,26.22196486
32,33.21584226
32,35.72392691
75,76.88604495
99,99.30874567
27,25.77161074
64,67.85169407
98,98.50371084
38,31.11331895
46,45.51171028
13,12.65537808
96,95.56065366
9,9.526431641
34,36.10893209
49,46.43628318
1,-3.83998112
50,48.97302037
94,93.25305499
27,23.47650968
20,17.13551132
12,14.55896144
45,41.53992729
91,91.64730552
61,66.16652565
10,9.230857489
47,47.41377893
33,34.76441561
84,86.10796637
24,21.81267954
48,48.89963951
48,46.78108638
9,12.91328547
93,94.55203143
99,94.97068753
8,2.379172481
20,21.47982988
38,35.79795462
78,82.0763803
81,78.87097714
42,47.2492425
95,96.18852325
78,78.38491927
44,42.94274064
68,64.43231595
87,84.21191485
58,57.3069783
52,52.52101436
26,25.7440243
75,75.42283401
48,53.62523007
71,75.14466308
77,74.12151511
34,36.24807243
24,20.21665898
70,66.94758118
29,34.07278254
76,73.13850045
98,92.85929155
28,28.36793808
87,85.59308727
9,10.68453755
87,86.10708624
33,33.22031418
64,66.09563422
17,19.30486546
49,48.84542083
95,93.73176312
75,75.45758614
89,91.24239226
81,87.15690853
25,25.53752833
47,46.06629478
50,49.65277661
5,7.382244165
68,71.11189935
84,83.50570521
8,8.791139893
41,33.30638903
26,26.40362524
89,91.72960726
78,82.53030719
34,36.67762733
92,86.98450355
27,32.34784175
12,16.78353974
2,1.576584383
22,17.4618141
0,2.116113029
26,24.34804332
50,48.29491198
84,85.52145453
70,73.71434779
66,63.15189497
42,38.46213684
19,19.47100788
94,94.07428225
71,67.92051286
19,22.58096241
16,16.01629889
49,48.43307886
29,29.6673599
29,26.65566328
86,86.28206739
50,50.82304924
86,88.57251713
30,32.59980745
23,21.02469368
20,20.72894979
16,20.38051187
57,57.25180153
8,6.967537054
8,10.240085
62,64.94841088
55,55.35893915
30,31.24365589
86,90.72048818
62,58.750127
51,55.85003198
61,60.19925869
86,85.03295412
61,60.38823085
21,18.44679787
81,82.18839247
97,94.2963344
5,7.682024586
61,61.01858089
47,53.60562216
98,94.47728801
30,27.9645947
63,62.55662585
0,1.406254414
100,101.7003412
18,13.84973988
30,28.99769315
98,99.04315693
16,15.56135514
22,24.63528393
55,53.98393374
43,42.91449728
75,74.29662112
91,91.17012883
46,49.42440876
85,82.47683519
55,56.15303953
36,37.17063131
49,46.36928662
94,97.02383456
43,40.83182104
22,24.08498313
37,41.14386358
24,21.97388066
95,100.740897
61,61.19971596
75,74.39517002
68,69.04377173
58,56.68718792
5,5.860391715
53,55.72021356
80,79.22021816
83,86.30177517
25,25.26971886
34,36.33294447
26,27.65574228
90,94.79690531
60,58.67366671
49,56.15934471
19,18.40919388
92,86.26936988
29,26.59436195
8,8.452520159
57,56.18131518
29,27.65452669
19,20.87391785
81,77.83354439
50,50.01787825
15,9.290856256
70,75.0284725
39,38.3037698
43,44.70786405
21,22.51016575
98,102.4959452
86,86.76845244
16,13.89748578
25,24.81824269
31,33.94224862
93,92.26970059
67,68.73365081
49,47.38516883
25,32.37576914
88,87.67388681
54,54.57648371
21,18.06450222
8,7.896539841
32,35.00341078
35,36.72823317
67,65.84975426
90,89.59295492
59,61.69026202
15,11.60499315
67,71.0826803
42,43.71901164
44,41.57421008
77,74.25552425
68,66.28310437
36,36.62438077
11,10.32374866
10,7.156457657
65,67.88603132
98,101.1097591
98,98.6132033
49,50.19083844
31,27.83896261
56,55.9249564
70,76.47340872
91,92.05756378
25,27.35245439
54,55.32083476
39,41.39990349
91,93.59057024
3,5.297054029
22,21.01429422
2,2.267059451
2,-0.121860502
65,66.49546208
71,73.83637687
42,42.10140878
76,77.35135732
43,41.02251779
8,14.75305272
86,83.28199022
87,89.93374342
3,2.286571686
58,55.61421297
62,62.15313408
89,89.55803528
95,94.00291863
28,26.78023848
0,-0.764537626
1,0.282866003
49,44.26800515
21,19.85174138
46,47.15960005
11,8.359366572
89,92.08157084
37,41.88734051
29,30.5413129
44,46.87654473
96,96.35659485
16,17.9170699
74,71.67949917
35,32.64997554
42,39.34482965
16,17.03401999
56,52.87524074
18,15.85414849
100,108.8716183
54,49.30477253
92,89.4749477
63,63.67348242
81,83.78410946
73,73.51136922
48,46.80297244
1,5.809946802
85,85.23027975
14,10.58213964
25,21.37698317
45,46.0537745
98,95.2389253
97,94.15149206
58,54.54868046
93,87.36260449
88,88.47741598
89,84.48045678
47,48.79647071
6,10.76675683
34,30.48882921
30,29.76846185
16,13.51574749
86,86.12955884
40,43.30022747
52,51.92110232
15,16.49185287
4,7.998073432
95,97.66689567
99,89.80545367
35,38.07166567
58,60.27852322
10,6.709195759
16,18.35488924
53,56.37058203
58,62.80064204
42,41.25155632
24,19.42637541
84,82.88935804
64,63.61364981
12,11.29627199
61,60.02274882
75,72.60339326
15,11.87964573
100,100.7012737
43,45.12420809
13,14.81106804
48,48.09368034
45,42.29145672
52,52.73389794
34,36.72396986
30,28.64535198
65,62.16675273
100,95.58459518
67,66.04325304
99,99.9566225
45,46.14941984
87,89.13754963
73,69.71787806
9,12.31736648
81,78.20296268
72,71.30995371
81,81.45544709
58,58.59500642
93,94.62509374
82,88.60376995
66,63.64868529
97,94.9752655
1 x y
2 24 21.54945196
3 50 47.46446305
4 15 17.21865634
5 38 36.58639803
6 87 87.28898389
7 36 32.46387493
8 12 10.78089683
9 81 80.7633986
10 25 24.61215147
11 5 6.963319071
12 16 11.23757338
13 16 13.53290206
14 24 24.60323899
15 39 39.40049976
16 54 48.43753838
17 60 61.69900319
18 26 26.92832418
19 73 70.4052055
20 29 29.34092408
21 31 25.30895192
22 68 69.02934339
23 87 84.99484703
24 58 57.04310305
25 54 50.5921991
26 84 83.02772202
27 58 57.05752706
28 49 47.95883341
29 20 24.34226432
30 90 94.68488281
31 48 48.03970696
32 4 7.08132338
33 25 21.99239907
34 42 42.33151664
35 0 0.329089443
36 60 61.92303698
37 93 91.17716423
38 39 39.45358014
39 7 5.996069607
40 21 22.59015942
41 68 61.18044414
42 84 85.02778957
43 0 -1.28631089
44 58 61.94273962
45 19 21.96033347
46 36 33.66194193
47 19 17.60946242
48 59 58.5630564
49 51 52.82390762
50 19 22.1363481
51 33 35.07467353
52 85 86.18822311
53 44 42.63227697
54 5 4.09817744
55 59 61.2229864
56 14 17.70677576
57 9 11.85312574
58 75 80.23051695
59 69 62.64931741
60 10 9.616859804
61 17 20.02797699
62 58 61.7510743
63 74 71.61010303
64 21 23.77154623
65 51 51.90142035
66 19 22.66073682
67 50 50.02897927
68 24 26.68794368
69 0 0.376911899
70 12 6.806419002
71 75 77.33986001
72 21 28.90260209
73 64 66.7346608
74 5 0.707510638
75 58 57.07748383
76 32 28.41453196
77 41 44.46272123
78 7 7.459605998
79 4 2.316708112
80 5 4.928546187
81 49 52.50336074
82 90 91.19109623
83 3 8.489164326
84 11 6.963371967
85 32 31.97989959
86 83 81.4281205
87 25 22.62365422
88 83 78.52505087
89 26 25.80714057
90 76 73.51081775
91 95 91.775467
92 53 49.21863516
93 77 80.50445387
94 42 50.05636123
95 25 25.46292549
96 54 55.32164264
97 55 59.1244888
98 0 1.100686692
99 73 71.98020786
100 35 30.13666408
101 86 83.88427405
102 90 89.91004752
103 13 8.335654576
104 46 47.88388961
105 46 45.00397413
106 32 31.15664574
107 8 9.190375682
108 71 74.83135003
109 28 30.23177607
110 24 24.21914027
111 56 57.87219151
112 49 50.61728392
113 79 78.67470043
114 90 86.236707
115 89 89.10409255
116 41 43.26595082
117 27 26.68273277
118 58 59.46383041
119 26 28.90055826
120 31 31.300416
121 70 71.1433266
122 71 68.4739206
123 39 39.98238856
124 7 4.075776144
125 48 47.85817542
126 56 51.20390217
127 45 43.9367213
128 41 38.13626679
129 3 3.574661632
130 37 36.4139958
131 24 22.21908523
132 68 63.5312572
133 47 49.86702787
134 27 21.53140009
135 68 64.05710234
136 74 70.77549842
137 95 92.15749762
138 79 81.22259156
139 21 25.10114067
140 95 94.08853397
141 54 53.25166165
142 56 59.16236621
143 80 75.24148428
144 26 28.22325833
145 25 25.33323728
146 8 6.364615703
147 95 95.4609216
148 94 88.64183756
149 54 58.70318693
150 7 6.815491279
151 99 99.40394676
152 36 32.77049249
153 48 47.0586788
154 65 60.53321778
155 42 40.30929858
156 93 89.42222685
157 86 86.82132066
158 26 26.11697543
159 51 53.26657596
160 100 96.62327888
161 94 95.78441027
162 6 6.047286687
163 24 24.47387908
164 75 75.96844763
165 7 3.829381009
166 53 52.51703683
167 73 72.80457527
168 16 14.10999096
169 80 80.86087062
170 77 77.01988215
171 89 86.26972444
172 80 77.13735466
173 55 51.47649476
174 19 17.34557531
175 56 57.72853572
176 47 44.15029394
177 56 59.24362743
178 2 -1.053275611
179 82 86.79002254
180 57 60.14031858
181 44 44.04222058
182 26 24.5227488
183 52 52.95305521
184 41 43.16133498
185 44 45.67562576
186 3 -2.830749501
187 31 29.19693178
188 97 96.49812401
189 21 22.5453232
190 17 20.10741433
191 7 4.035430253
192 61 61.14568518
193 10 13.97163653
194 52 55.34529893
195 10 12.18441166
196 65 64.00077658
197 71 70.3188322
198 4 -0.936895047
199 24 18.91422276
200 26 23.87590331
201 51 47.5775361
202 42 43.2736092
203 62 66.48278755
204 74 75.72605529
205 77 80.59643338
206 3 -2.235879852
207 50 47.04654956
208 24 21.59635575
209 37 32.87558963
210 58 57.95782956
211 52 52.24760027
212 27 24.58286902
213 14 12.12573805
214 100 100.0158026
215 #3530.15736917
216 72 74.04682658
217 5 1.611947467
218 71 70.36836307
219 54 52.26831735
220 84 83.1286166
221 42 43.64765048
222 54 49.44785426
223 74 72.6356699
224 54 52.78130641
225 53 57.11195136
226 78 79.1050629
227 97 101.6228548
228 49 53.5825402
229 71 68.92139297
230 48 46.9666961
231 51 51.02642868
232 89 85.52073551
233 99 99.51685756
234 93 94.63911256
235 49 46.78357742
236 18 21.21321959
237 65 58.37266004
238 83 87.22059677
239 100 102.4967859
240 41 43.88314335
241 52 53.06655757
242 29 26.33464785
243 97 98.52008934
244 7 9.400497579
245 51 52.94026699
246 58 53.83020877
247 50 45.94511142
248 67 65.0132736
249 89 86.5069584
250 76 75.63280796
251 35 36.78035027
252 99 100.5328916
253 31 29.04466136
254 52 51.70352433
255 11 9.199954718
256 66 71.70015848
257 50 49.82634062
258 39 37.49971096
259 60 53.65084683
260 35 33.92561965
261 53 49.92639685
262 14 8.148154262
263 49 49.72359037
264 16 16.16712757
265 76 75.30033002
266 13 9.577368568
267 51 48.38088357
268 70 72.95331671
269 98 92.59573853
270 86 88.85523586
271 100 99.00361771
272 46 45.09439571
273 51 46.94362684
274 50 48.33449605
275 91 94.92329574
276 48 47.78165248
277 81 81.28960746
278 38 37.83155021
279 40 39.69185252
280 79 76.92664854
281 96 88.02990531
282 60 56.99178872
283 70 72.58929383
284 44 44.98103442
285 11 11.99017641
286 6 1.919513328
287 5 1.628826073
288 72 66.27746655
289 55 57.53887255
290 95 94.70291077
291 41 41.21469904
292 25 25.04169243
293 1 3.778209914
294 55 50.50711779
295 4 9.682408486
296 48 48.88147608
297 55 54.40348599
298 75 71.70233156
299 68 69.35848388
300 100 99.98491591
301 25 26.03323718
302 75 75.48910307
303 34 36.59623056
304 38 40.95102191
305 92 86.78316267
306 21 15.50701184
307 88 85.86077871
308 75 79.20610113
309 76 80.80643766
310 44 48.59717283
311 10 13.93415049
312 21 27.3051179
313 16 14.00226297
314 32 33.67416
315 13 13.11612884
316 26 24.76649193
317 70 73.68477876
318 77 77.53149541
319 77 76.24503196
320 88 88.0578931
321 35 35.02445799
322 24 21.65857739
323 17 17.33681562
324 91 94.36778957
325 32 33.43396307
326 36 32.52179399
327 89 90.57741298
328 69 71.25634126
329 30 31.23212856
330 6 5.398840061
331 22 18.56241391
332 67 71.97121038
333 9 5.225759566
334 74 73.5964342
335 50 49.76948983
336 85 82.69087513
337 3 1.652309089
338 0 -3.836652144
339 59 62.03811556
340 62 61.26514581
341 17 13.24991628
342 90 88.61672694
343 23 21.13655528
344 19 23.85017475
345 93 92.01203405
346 14 10.26712261
347 58 54.14681616
348 87 87.00645713
349 37 37.69447352
350 20 19.62278654
351 35 34.78561007
352 63 62.03190983
353 56 52.67003801
354 62 58.09031476
355 98 97.19448821
356 90 90.50155298
357 51 50.5123462
358 93 94.45211871
359 22 21.10794636
360 38 37.36298431
361 13 10.28574844
362 98 96.04932416
363 99 100.0953697
364 31 30.6063167
365 94 96.19000542
366 73 71.30828034
367 37 34.59311043
368 23 19.02332876
369 11 10.76669688
370 88 90.5799868
371 47 48.71787679
372 79 78.74139764
373 91 85.23492274
374 71 71.65789964
375 10 8.938990554
376 39 39.89606046
377 92 91.85091116
378 99 99.11200375
379 28 26.22196486
380 32 33.21584226
381 32 35.72392691
382 75 76.88604495
383 99 99.30874567
384 27 25.77161074
385 64 67.85169407
386 98 98.50371084
387 38 31.11331895
388 46 45.51171028
389 13 12.65537808
390 96 95.56065366
391 9 9.526431641
392 34 36.10893209
393 49 46.43628318
394 1 -3.83998112
395 50 48.97302037
396 94 93.25305499
397 27 23.47650968
398 20 17.13551132
399 12 14.55896144
400 45 41.53992729
401 91 91.64730552
402 61 66.16652565
403 10 9.230857489
404 47 47.41377893
405 33 34.76441561
406 84 86.10796637
407 24 21.81267954
408 48 48.89963951
409 48 46.78108638
410 9 12.91328547
411 93 94.55203143
412 99 94.97068753
413 8 2.379172481
414 20 21.47982988
415 38 35.79795462
416 78 82.0763803
417 81 78.87097714
418 42 47.2492425
419 95 96.18852325
420 78 78.38491927
421 44 42.94274064
422 68 64.43231595
423 87 84.21191485
424 58 57.3069783
425 52 52.52101436
426 26 25.7440243
427 75 75.42283401
428 48 53.62523007
429 71 75.14466308
430 77 74.12151511
431 34 36.24807243
432 24 20.21665898
433 70 66.94758118
434 29 34.07278254
435 76 73.13850045
436 98 92.85929155
437 28 28.36793808
438 87 85.59308727
439 9 10.68453755
440 87 86.10708624
441 33 33.22031418
442 64 66.09563422
443 17 19.30486546
444 49 48.84542083
445 95 93.73176312
446 75 75.45758614
447 89 91.24239226
448 81 87.15690853
449 25 25.53752833
450 47 46.06629478
451 50 49.65277661
452 5 7.382244165
453 68 71.11189935
454 84 83.50570521
455 8 8.791139893
456 41 33.30638903
457 26 26.40362524
458 89 91.72960726
459 78 82.53030719
460 34 36.67762733
461 92 86.98450355
462 27 32.34784175
463 12 16.78353974
464 2 1.576584383
465 22 17.4618141
466 0 2.116113029
467 26 24.34804332
468 50 48.29491198
469 84 85.52145453
470 70 73.71434779
471 66 63.15189497
472 42 38.46213684
473 19 19.47100788
474 94 94.07428225
475 71 67.92051286
476 19 22.58096241
477 16 16.01629889
478 49 48.43307886
479 29 29.6673599
480 29 26.65566328
481 86 86.28206739
482 50 50.82304924
483 86 88.57251713
484 30 32.59980745
485 23 21.02469368
486 20 20.72894979
487 16 20.38051187
488 57 57.25180153
489 8 6.967537054
490 8 10.240085
491 62 64.94841088
492 55 55.35893915
493 30 31.24365589
494 86 90.72048818
495 62 58.750127
496 51 55.85003198
497 61 60.19925869
498 86 85.03295412
499 61 60.38823085
500 21 18.44679787
501 81 82.18839247
502 97 94.2963344
503 5 7.682024586
504 61 61.01858089
505 47 53.60562216
506 98 94.47728801
507 30 27.9645947
508 63 62.55662585
509 0 1.406254414
510 100 101.7003412
511 18 13.84973988
512 30 28.99769315
513 98 99.04315693
514 16 15.56135514
515 22 24.63528393
516 55 53.98393374
517 43 42.91449728
518 75 74.29662112
519 91 91.17012883
520 46 49.42440876
521 85 82.47683519
522 55 56.15303953
523 36 37.17063131
524 49 46.36928662
525 94 97.02383456
526 43 40.83182104
527 22 24.08498313
528 37 41.14386358
529 24 21.97388066
530 95 100.740897
531 61 61.19971596
532 75 74.39517002
533 68 69.04377173
534 58 56.68718792
535 5 5.860391715
536 53 55.72021356
537 80 79.22021816
538 83 86.30177517
539 25 25.26971886
540 34 36.33294447
541 26 27.65574228
542 90 94.79690531
543 60 58.67366671
544 49 56.15934471
545 19 18.40919388
546 92 86.26936988
547 29 26.59436195
548 8 8.452520159
549 57 56.18131518
550 29 27.65452669
551 19 20.87391785
552 81 77.83354439
553 50 50.01787825
554 15 9.290856256
555 70 75.0284725
556 39 38.3037698
557 43 44.70786405
558 21 22.51016575
559 98 102.4959452
560 86 86.76845244
561 16 13.89748578
562 25 24.81824269
563 31 33.94224862
564 93 92.26970059
565 67 68.73365081
566 49 47.38516883
567 25 32.37576914
568 88 87.67388681
569 54 54.57648371
570 21 18.06450222
571 8 7.896539841
572 32 35.00341078
573 35 36.72823317
574 67 65.84975426
575 90 89.59295492
576 59 61.69026202
577 15 11.60499315
578 67 71.0826803
579 42 43.71901164
580 44 41.57421008
581 77 74.25552425
582 68 66.28310437
583 36 36.62438077
584 11 10.32374866
585 10 7.156457657
586 65 67.88603132
587 98 101.1097591
588 98 98.6132033
589 49 50.19083844
590 31 27.83896261
591 56 55.9249564
592 70 76.47340872
593 91 92.05756378
594 25 27.35245439
595 54 55.32083476
596 39 41.39990349
597 91 93.59057024
598 3 5.297054029
599 22 21.01429422
600 2 2.267059451
601 2 -0.121860502
602 65 66.49546208
603 71 73.83637687
604 42 42.10140878
605 76 77.35135732
606 43 41.02251779
607 8 14.75305272
608 86 83.28199022
609 87 89.93374342
610 3 2.286571686
611 58 55.61421297
612 62 62.15313408
613 89 89.55803528
614 95 94.00291863
615 28 26.78023848
616 0 -0.764537626
617 1 0.282866003
618 49 44.26800515
619 21 19.85174138
620 46 47.15960005
621 11 8.359366572
622 89 92.08157084
623 37 41.88734051
624 29 30.5413129
625 44 46.87654473
626 96 96.35659485
627 16 17.9170699
628 74 71.67949917
629 35 32.64997554
630 42 39.34482965
631 16 17.03401999
632 56 52.87524074
633 18 15.85414849
634 100 108.8716183
635 54 49.30477253
636 92 89.4749477
637 63 63.67348242
638 81 83.78410946
639 73 73.51136922
640 48 46.80297244
641 1 5.809946802
642 85 85.23027975
643 14 10.58213964
644 25 21.37698317
645 45 46.0537745
646 98 95.2389253
647 97 94.15149206
648 58 54.54868046
649 93 87.36260449
650 88 88.47741598
651 89 84.48045678
652 47 48.79647071
653 6 10.76675683
654 34 30.48882921
655 30 29.76846185
656 16 13.51574749
657 86 86.12955884
658 40 43.30022747
659 52 51.92110232
660 15 16.49185287
661 4 7.998073432
662 95 97.66689567
663 99 89.80545367
664 35 38.07166567
665 58 60.27852322
666 10 6.709195759
667 16 18.35488924
668 53 56.37058203
669 58 62.80064204
670 42 41.25155632
671 24 19.42637541
672 84 82.88935804
673 64 63.61364981
674 12 11.29627199
675 61 60.02274882
676 75 72.60339326
677 15 11.87964573
678 100 100.7012737
679 43 45.12420809
680 13 14.81106804
681 48 48.09368034
682 45 42.29145672
683 52 52.73389794
684 34 36.72396986
685 30 28.64535198
686 65 62.16675273
687 100 95.58459518
688 67 66.04325304
689 99 99.9566225
690 45 46.14941984
691 87 89.13754963
692 73 69.71787806
693 9 12.31736648
694 81 78.20296268
695 72 71.30995371
696 81 81.45544709
697 58 58.59500642
698 93 94.62509374
699 82 88.60376995
700 66 63.64868529
701 97 94.9752655

22
graph.py Normal file
View File

@@ -0,0 +1,22 @@
import matplotlib.pyplot as plt
class Graph:
def __init__(self, **kwargs):
self.f = plt.figure()
self.ax = self.f.add_subplot(111)
self.line = None
def draw_variable(self, x, y):
self.x = x
self.y = y
self.ax.scatter(x, y)
plt.ion()
plt.show()
def draw_line(self, x, y):
if self.line is not None:
self.line.remove()
self.line = plt.Line2D(x, y, color='r')
self.ax.add_line(self.line)
plt.draw()
plt.pause(0.000000001)

44
regression2.py Normal file
View File

@@ -0,0 +1,44 @@
import warnings
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
import numpy as np
import pandas as pd
def load_data():
df = pd.read_csv('data/sample.txt', sep=',', header=None)
df[2] = pd.Series([1]*len(df[0]))
df = df.reindex(columns=[1, 2, 0])
return df
def get_cost():
pass
def get_gradient():
pass
df = load_data()
y = df.values[:, 0]
x = df.values[:, 1:]
m, n = x.shape
w = np.zeros(n)
a = 0.001
sum_ = 0
gap = 0.001
while True:
h = x@w
cost = ((h-y)**2).mean()/2
gradient = a*(h-y)@x
pass

112
regressions.py Normal file
View File

@@ -0,0 +1,112 @@
import numpy as np
import graph
import pandas as pd
#import tensorflow as tf
def normalize_feature(x: np.array) -> (np.array, float, float):
mu = x.mean(0)
std = x.std(0)
std[std == 0] = 1
x_norm = (x-mu)/std
return x_norm, mu, std
def add_column(x: np.array):
n, m = x.shape
return np.c_[np.ones((n, 1)), x.reshape((n, m))]
def split_data(x, y):
m, n = x.shape
test_size = int(m*0.2)
test_indices = np.random.choice(m, test_size)
train_x = np.delete(x, test_indices, axis=0)
test_x = x[test_indices]
train_y = np.delete(y, test_indices, axis=0)
test_y = y[test_indices]
return train_x, test_x, train_y, test_y
def get_regularization_term(w: np.array, wlambda: float) -> np.array:
m = len(w)
return wlambda*(w**2).sum()/(2*m)
def get_derived_regularization_term(w: np.array, wlambda: float, alpha: float) -> np.array:
m = len(w)
return np.r_[0, alpha*wlambda*w[1:]/m]
#data = np.array([
# [1,3+1],
# [2,6+1],
# [3,9+1],
# [4,12+1],
# [5,15+1],
# ])
#data = np.loadtxt('data/ex1data1.txt', delimiter=',')
# train excercize
#data = np.loadtxt('data/train.csv', delimiter=',', skiprows=1, comments='#')
# auto mpg
#df = pd.read_csv('data/auto-mpg.data', sep='\t')
#df = df.drop(df.loc[df['horsepower'] == '?'].index)
#df = df.convert_objects(convert_numeric=True)
#data = df.values
# Airfoil Self-Noise Data Set
#df = pd.read_csv('data/airfoil_self_noise.dat', sep='\t')
#df = df.convert_objects(convert_numeric=True)
#data = df.values
df = pd.read_csv('data/mlr01.csv', sep=',')
data = df.values
x_init = data[:, 0:-1]
y_init = data[:, -1]
x, mu, std = normalize_feature(x_init)
x = add_column(x)
x, test_x, y, test_y = split_data(x, y_init)
n, m = x.shape
w = np.zeros(m)
is_2d = (m == 2)
if is_2d == True:
g = graph.Graph()
g.draw_variable(x_init, y)
alpha = 0.001
iter = 0
sum_gradient = 0
display_gap = 0.5
wlambda = 0.001
while True:
h = x@w
cost = ((h - y)**2).mean() + get_regularization_term(w, wlambda)
gradient = alpha*((h - y)*x.T).mean(1) + get_derived_regularization_term(w, wlambda, alpha)
w -= gradient
sum_gradient += abs(gradient.sum())
if sum_gradient >= display_gap:
sum_gradient -= display_gap
print("{} : {}".format(iter, cost))
if is_2d == True:
g.draw_line(x_init, h)
iter += 1
if max(abs(gradient)) < 1e-5:
if is_2d:
g.draw_line(x_init, h)
break
print('iteration: {}'.format(iter))
for i in range(len(test_x)):
h = test_x[i]@w
print('h: {:.2f} / y: {}'.format(h, test_y[i]))

50
regressions.pyproj Normal file
View File

@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>db253b3a-f559-48b8-9804-846029a6ebef</ProjectGuid>
<ProjectHome>.</ProjectHome>
<StartupFile>regression2.py</StartupFile>
<SearchPath>
</SearchPath>
<WorkingDirectory>.</WorkingDirectory>
<OutputPath>.</OutputPath>
<Name>regressions</Name>
<RootNamespace>regressions</RootNamespace>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>true</DebugSymbols>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
</PropertyGroup>
<ItemGroup>
<Compile Include="graph.py">
<SubType>Code</SubType>
</Compile>
<Compile Include="regression2.py">
<SubType>Code</SubType>
</Compile>
<Compile Include="regressions.py" />
<Compile Include="test.py">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<PropertyGroup>
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
<PtvsTargetsFile>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Python Tools\Microsoft.PythonTools.targets</PtvsTargetsFile>
</PropertyGroup>
<Import Condition="Exists($(PtvsTargetsFile))" Project="$(PtvsTargetsFile)" />
<Import Condition="!Exists($(PtvsTargetsFile))" Project="$(MSBuildToolsPath)\Microsoft.Common.targets" />
<!-- Uncomment the CoreCompile target to enable the Build command in
Visual Studio and specify your pre- and post-build commands in
the BeforeBuild and AfterBuild targets below. -->
<!--<Target Name="CoreCompile" />-->
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
</Project>

20
regressions.sln Normal file
View File

@@ -0,0 +1,20 @@
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{888888A0-9F3D-457C-B088-3A5042F75D52}") = "regressions", "regressions.pyproj", "{DB253B3A-F559-48B8-9804-846029A6EBEF}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{DB253B3A-F559-48B8-9804-846029A6EBEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{DB253B3A-F559-48B8-9804-846029A6EBEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

37
test.py Normal file
View File

@@ -0,0 +1,37 @@
import numpy as np
x = np.ones((2, 3, 4,5 ))
print('x:')
print(x.shape)
print(x)
y = np.transpose(x)
print('y:')
print(y.shape)
print(y)
x = np.array([1,2,3,4,5])
print(x)
print(x.mean())
print(x.std())
print(10**(1/2))
data = np.array([
[1,3+1],
[2,6+1],
[3,9+1],
[4,12+1],
[5,15+1],
])
n = data.shape[0]
x_init = data[:,0]
x = np.c_[x_init.reshape(n, -1), np.ones((n, 1))]
print(x)
x = np.array([1,2,3,4,5,6,7,8,9,10])
print(x**2)
x = x**2
print(x.sum())