;% ;% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ;% ;% All nominal attributes and instances with missing values are deleted. ;% Price treated as the class attribute. ;% ;% As used by Kilpatrick, D. & Cameron-Jones, M. (1998). Numeric prediction ;% using instance-based learning with encoding length selection. In Progress ;% in Connectionist-Based Information Systems. Singapore: Springer-Verlag. ;% ;% !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ;% ;% 1. Title: 1985 Auto Imports Database ;% ;% 2. Source Information: ;% -- Creator/Donor: Jeffrey C. Schlimmer (Jeffrey.Schlimmer@a.gp.cs.cmu.edu) ;% -- Date: 19 May 1987 ;% -- Sources: ;% 1) 1985 Model Import Car and Truck Specifications, 1985 Ward's ;% Automotive Yearbook. ;% 2) Personal Auto Manuals, Insurance Services Office, 160 Water ;% Street, New York, NY 10038 ;% 3) Insurance Collision Report, Insurance Institute for Highway ;% Safety, Watergate 600, Washington, DC 20037 ;% ;% 3. Past Usage: ;% -- Kibler,~D., Aha,~D.~W., \& Albert,~M. (1989). Instance-based prediction ;% of real-valued attributes. {\it Computational Intelligence}, {\it 5}, ;% 51--57. ;% -- Predicted price of car using all numeric and Boolean attributes ;% -- Method: an instance-based learning (IBL) algorithm derived from a ;% localized k-nearest neighbor algorithm. Compared with a ;% linear regression prediction...so all instances ;% with missing attribute values were discarded. This resulted with ;% a training set of 159 instances, which was also used as a test ;% set (minus the actual instance during testing). ;% -- Results: Percent Average Deviation Error of Prediction from Actual ;% -- 11.84% for the IBL algorithm ;% -- 14.12% for the resulting linear regression equation ;% ;% 4. Relevant Information: ;% -- Description ;% This data set consists of three types of entities: (a) the ;% specification of an auto in terms of various characteristics, (b) ;% its assigned insurance risk rating, (c) its normalized losses in use ;% as compared to other cars. The second rating corresponds to the ;% degree to which the auto is more risky than its price indicates. ;% Cars are initially assigned a risk factor symbol associated with its ;% price. Then, if it is more risky (or less), this symbol is ;% adjusted by moving it up (or down) the scale. Actuarians call this ;% process "symboling". A value of +3 indicates that the auto is ;% risky, -3 that it is probably pretty safe. ;% ;% The third factor is the relative average loss payment per insured ;% vehicle year. This value is normalized for all autos within a ;% particular size classification (two-door small, station wagons, ;% sports/speciality, etc...), and represents the average loss per car ;% per year. ;% ;% -- Note: Several of the attributes in the database could be used as a ;% "class" attribute. ;% ;% 5. Number of Instances: 205 ;% ;% 6. Number of Attributes: 26 total ;% -- 15 continuous ;% -- 1 integer ;% -- 10 nominal ;% ;% 7. Attribute Information: ;% Attribute: Attribute Range: ;% ------------------ ----------------------------------------------- ;% 1. symboling: -3, -2, -1, 0, 1, 2, 3. ;% 2. normalized-losses: continuous from 65 to 256. ;% 3. make: alfa-romero, audi, bmw, chevrolet, dodge, honda, ;% isuzu, jaguar, mazda, mercedes-benz, mercury, ;% mitsubishi, nissan, peugot, plymouth, porsche, ;% renault, saab, subaru, toyota, volkswagen, volvo ;% 4. fuel-type: diesel, gas. ;% 5. aspiration: std, turbo. ;% 6. num-of-doors: four, two. ;% 7. body-style: hardtop, wagon, sedan, hatchback, convertible. ;% 8. drive-wheels: 4wd, fwd, rwd. ;% 9. engine-location: front, rear. ;% 10. wheel-base: continuous from 86.6 120.9. ;% 11. length: continuous from 141.1 to 208.1. ;% 12. width: continuous from 60.3 to 72.3. ;% 13. height: continuous from 47.8 to 59.8. ;% 14. curb-weight: continuous from 1488 to 4066. ;% 15. engine-type: dohc, dohcv, l, ohc, ohcf, ohcv, rotor. ;% 16. num-of-cylinders: eight, five, four, six, three, twelve, two. ;% 17. engine-size: continuous from 61 to 326. ;% 18. fuel-system: 1bbl, 2bbl, 4bbl, idi, mfi, mpfi, spdi, spfi. ;% 19. bore: continuous from 2.54 to 3.94. ;% 20. stroke: continuous from 2.07 to 4.17. ;% 21. compression-ratio: continuous from 7 to 23. ;% 22. horsepower: continuous from 48 to 288. ;% 23. peak-rpm: continuous from 4150 to 6600. ;% 24. city-mpg: continuous from 13 to 49. ;% 25. highway-mpg: continuous from 16 to 54. ;% 26. price: continuous from 5118 to 45400. ;% ;% 8. Missing Attribute Values: (denoted by "?") ;% Attribute #: Number of instances missing a value: ;% 2. 41 ;% 6. 2 ;% 19. 4 ;% 20. 4 ;% 22. 2 ;% 23. 2 ;% 26. 4% ;% (defun autoPrice () (data :name 'autoPrice :columns '(symboling $normalized-losses $wheel-base $length $width $height $curb-weight $engine-size $bore $stroke $compression-ratio $horsepower $peak-rpm $city-mpg $highway-mpg $class) :egs '( (2 164 99.8 176.6 66.2 54.3 2337 109 3.19 3.4 10 102 5500 24 30 13950) (2 164 99.4 176.6 66.4 54.3 2824 136 3.19 3.4 8 115 5500 18 22 17450) (1 158 105.8 192.7 71.4 55.7 2844 136 3.19 3.4 8.5 110 5500 19 25 17710) (1 158 105.8 192.7 71.4 55.9 3086 131 3.13 3.4 8.3 140 5500 17 20 23875) (2 192 101.2 176.8 64.8 54.3 2395 108 3.5 2.8 8.8 101 5800 23 29 16430) (0 192 101.2 176.8 64.8 54.3 2395 108 3.5 2.8 8.8 101 5800 23 29 16925) (0 188 101.2 176.8 64.8 54.3 2710 164 3.31 3.19 9 121 4250 21 28 20970) (0 188 101.2 176.8 64.8 54.3 2765 164 3.31 3.19 9 121 4250 21 28 21105) (2 121 88.4 141.1 60.3 53.2 1488 61 2.91 3.03 9.5 48 5100 47 53 5151) (1 98 94.5 155.9 63.6 52 1874 90 3.03 3.11 9.6 70 5400 38 43 6295) (0 81 94.5 158.8 63.6 52 1909 90 3.03 3.11 9.6 70 5400 38 43 6575) (1 118 93.7 157.3 63.8 50.8 1876 90 2.97 3.23 9.41 68 5500 37 41 5572) (1 118 93.7 157.3 63.8 50.8 1876 90 2.97 3.23 9.4 68 5500 31 38 6377) (1 118 93.7 157.3 63.8 50.8 2128 98 3.03 3.39 7.6 102 5500 24 30 7957) (1 148 93.7 157.3 63.8 50.6 1967 90 2.97 3.23 9.4 68 5500 31 38 6229) (1 148 93.7 157.3 63.8 50.6 1989 90 2.97 3.23 9.4 68 5500 31 38 6692) (1 148 93.7 157.3 63.8 50.6 1989 90 2.97 3.23 9.4 68 5500 31 38 7609) (-1 110 103.3 174.6 64.6 59.8 2535 122 3.34 3.46 8.5 88 5000 24 30 8921) (3 145 95.9 173.2 66.3 50.2 2811 156 3.6 3.9 7 145 5000 19 24 12964) (2 137 86.6 144.6 63.9 50.8 1713 92 2.91 3.41 9.6 58 4800 49 54 6479) (2 137 86.6 144.6 63.9 50.8 1819 92 2.91 3.41 9.2 76 6000 31 38 6855) (1 101 93.7 150 64 52.6 1837 79 2.91 3.07 10.1 60 5500 38 42 5399) (1 101 93.7 150 64 52.6 1940 92 2.91 3.41 9.2 76 6000 30 34 6529) (1 101 93.7 150 64 52.6 1956 92 2.91 3.41 9.2 76 6000 30 34 7129) (0 110 96.5 163.4 64 54.5 2010 92 2.91 3.41 9.2 76 6000 30 34 7295) (0 78 96.5 157.1 63.9 58.3 2024 92 2.92 3.41 9.2 76 6000 30 34 7295) (0 106 96.5 167.5 65.2 53.3 2236 110 3.15 3.58 9 86 5800 27 33 7895) (0 106 96.5 167.5 65.2 53.3 2289 110 3.15 3.58 9 86 5800 27 33 9095) (0 85 96.5 175.4 65.2 54.1 2304 110 3.15 3.58 9 86 5800 27 33 8845) (0 85 96.5 175.4 62.5 54.1 2372 110 3.15 3.58 9 86 5800 27 33 10295) (0 85 96.5 175.4 65.2 54.1 2465 110 3.15 3.58 9 101 5800 24 28 12945) (1 107 96.5 169.1 66 51 2293 110 3.15 3.58 9.1 100 5500 25 31 10345) (0 145 113 199.6 69.6 52.8 4066 258 3.63 4.17 8.1 176 4750 15 19 32250) (1 104 93.1 159.1 64.2 54.1 1890 91 3.03 3.15 9 68 5000 30 31 5195) (1 104 93.1 159.1 64.2 54.1 1900 91 3.03 3.15 9 68 5000 31 38 6095) (1 104 93.1 159.1 64.2 54.1 1905 91 3.03 3.15 9 68 5000 31 38 6795) (1 113 93.1 166.8 64.2 54.1 1945 91 3.03 3.15 9 68 5000 31 38 6695) (1 113 93.1 166.8 64.2 54.1 1950 91 3.08 3.15 9 68 5000 31 38 7395) (1 129 98.8 177.8 66.5 53.7 2385 122 3.39 3.39 8.6 84 4800 26 32 8845) (0 115 98.8 177.8 66.5 55.5 2410 122 3.39 3.39 8.6 84 4800 26 32 8495) (1 129 98.8 177.8 66.5 53.7 2385 122 3.39 3.39 8.6 84 4800 26 32 10595) (0 115 98.8 177.8 66.5 55.5 2410 122 3.39 3.39 8.6 84 4800 26 32 10245) (0 115 98.8 177.8 66.5 55.5 2425 122 3.39 3.39 8.6 84 4800 26 32 11245) (0 118 104.9 175 66.1 54.4 2670 140 3.76 3.16 8 120 5000 19 27 18280) (-1 93 110 190.9 70.3 56.5 3515 183 3.58 3.64 21.5 123 4350 22 25 25552) (-1 93 110 190.9 70.3 58.7 3750 183 3.58 3.64 21.5 123 4350 22 25 28248) (0 93 106.7 187.5 70.3 54.9 3495 183 3.58 3.64 21.5 123 4350 22 25 28176) (-1 93 115.6 202.6 71.7 56.3 3770 183 3.58 3.64 21.5 123 4350 22 25 31600) (3 142 96.6 180.3 70.5 50.8 3685 234 3.46 3.1 8.3 155 4750 16 18 35056) (2 161 93.7 157.3 64.4 50.8 1918 92 2.97 3.23 9.4 68 5500 37 41 5389) (2 161 93.7 157.3 64.4 50.8 1944 92 2.97 3.23 9.4 68 5500 31 38 6189) (2 161 93.7 157.3 64.4 50.8 2004 92 2.97 3.23 9.4 68 5500 31 38 6669) (1 161 93 157.3 63.8 50.8 2145 98 3.03 3.39 7.6 102 5500 24 30 7689) (3 153 96.3 173 65.4 49.4 2370 110 3.17 3.46 7.5 116 5500 23 30 9959) (3 153 96.3 173 65.4 49.4 2328 122 3.35 3.46 8.5 88 5000 25 32 8499) (1 125 96.3 172.4 65.4 51.6 2365 122 3.35 3.46 8.5 88 5000 25 32 6989) (1 125 96.3 172.4 65.4 51.6 2405 122 3.35 3.46 8.5 88 5000 25 32 8189) (1 125 96.3 172.4 65.4 51.6 2403 110 3.17 3.46 7.5 116 5500 23 30 9279) (-1 137 96.3 172.4 65.4 51.6 2403 110 3.17 3.46 7.5 116 5500 23 30 9279) (1 128 94.5 165.3 63.8 54.5 1889 97 3.15 3.29 9.4 69 5200 31 37 5499) (1 128 94.5 165.3 63.8 54.5 2017 103 2.99 3.47 21.9 55 4800 45 50 7099) (1 128 94.5 165.3 63.8 54.5 1918 97 3.15 3.29 9.4 69 5200 31 37 6649) (1 122 94.5 165.3 63.8 54.5 1938 97 3.15 3.29 9.4 69 5200 31 37 6849) (1 103 94.5 170.2 63.8 53.5 2024 97 3.15 3.29 9.4 69 5200 31 37 7349) (1 128 94.5 165.3 63.8 54.5 1951 97 3.15 3.29 9.4 69 5200 31 37 7299) (1 128 94.5 165.6 63.8 53.3 2028 97 3.15 3.29 9.4 69 5200 31 37 7799) (1 122 94.5 165.3 63.8 54.5 1971 97 3.15 3.29 9.4 69 5200 31 37 7499) (1 103 94.5 170.2 63.8 53.5 2037 97 3.15 3.29 9.4 69 5200 31 37 7999) (2 168 95.1 162.4 63.8 53.3 2008 97 3.15 3.29 9.4 69 5200 31 37 8249) (0 106 97.2 173.4 65.2 54.7 2324 120 3.33 3.47 8.5 97 5200 27 34 8949) (0 106 97.2 173.4 65.2 54.7 2302 120 3.33 3.47 8.5 97 5200 27 34 9549) (0 128 100.4 181.7 66.5 55.1 3095 181 3.43 3.27 9 152 5200 17 22 13499) (0 108 100.4 184.6 66.5 56.1 3296 181 3.43 3.27 9 152 5200 17 22 14399) (0 108 100.4 184.6 66.5 55.1 3060 181 3.43 3.27 9 152 5200 19 25 13499) (3 194 91.3 170.7 67.9 49.7 3071 181 3.43 3.27 9 160 5200 19 25 17199) (3 194 91.3 170.7 67.9 49.7 3139 181 3.43 3.27 7.8 200 5200 17 23 19699) (1 231 99.2 178.5 67.9 49.7 3139 181 3.43 3.27 9 160 5200 19 25 18399) (0 161 107.9 186.7 68.4 56.7 3020 120 3.46 3.19 8.4 97 5000 19 24 11900) (0 161 107.9 186.7 68.4 56.7 3197 152 3.7 3.52 21 95 4150 28 33 13200) (0 161 107.9 186.7 68.4 56.7 3075 120 3.46 2.19 8.4 95 5000 19 24 15580) (0 161 107.9 186.7 68.4 56.7 3252 152 3.7 3.52 21 95 4150 28 33 16900) (0 161 107.9 186.7 68.4 56.7 3075 120 3.46 3.19 8.4 97 5000 19 24 16630) (0 161 107.9 186.7 68.4 56.7 3252 152 3.7 3.52 21 95 4150 28 33 17950) (0 161 108 186.7 68.3 56 3130 134 3.61 3.21 7 142 5600 18 24 18150) (1 119 93.7 157.3 63.8 50.8 1918 90 2.97 3.23 9.4 68 5500 37 41 5572) (1 119 93.7 157.3 63.8 50.8 2128 98 3.03 3.39 7.6 102 5500 24 30 7957) (1 154 93.7 157.3 63.8 50.6 1967 90 2.97 3.23 9.4 68 5500 31 38 6229) (1 154 93.7 167.3 63.8 50.8 1989 90 2.97 3.23 9.4 68 5500 31 38 6692) (1 154 93.7 167.3 63.8 50.8 2191 98 2.97 3.23 9.4 68 5500 31 38 7609) (-1 74 103.3 174.6 64.6 59.8 2535 122 3.35 3.46 8.5 88 5000 24 30 8921) (3 186 94.5 168.9 68.3 50.2 2778 151 3.94 3.11 9.5 143 5500 19 27 22018) (3 150 99.1 186.6 66.5 56.1 2658 121 3.54 3.07 9.31 110 5250 21 28 11850) (2 104 99.1 186.6 66.5 56.1 2695 121 3.54 3.07 9.3 110 5250 21 28 12170) (3 150 99.1 186.6 66.5 56.1 2707 121 2.54 2.07 9.3 110 5250 21 28 15040) (2 104 99.1 186.6 66.5 56.1 2758 121 3.54 3.07 9.3 110 5250 21 28 15510) (3 150 99.1 186.6 66.5 56.1 2808 121 3.54 3.07 9 160 5500 19 26 18150) (2 104 99.1 186.6 66.5 56.1 2847 121 3.54 3.07 9 160 5500 19 26 18620) (2 83 93.7 156.9 63.4 53.7 2050 97 3.62 2.36 9 69 4900 31 36 5118) (2 83 93.7 157.9 63.6 53.7 2120 108 3.62 2.64 8.7 73 4400 26 31 7053) (2 83 93.3 157.3 63.8 55.7 2240 108 3.62 2.64 8.7 73 4400 26 31 7603) (0 102 97.2 172 65.4 52.5 2145 108 3.62 2.64 9.5 82 4800 32 37 7126) (0 102 97.2 172 65.4 52.5 2190 108 3.62 2.64 9.5 82 4400 28 33 7775) (0 102 97.2 172 65.4 52.5 2340 108 3.62 2.64 9 94 5200 26 32 9960) (0 102 97 172 65.4 54.3 2385 108 3.62 2.64 9 82 4800 24 25 9233) (0 102 97 172 65.4 54.3 2510 108 3.62 2.64 7.7 111 4800 24 29 11259) (0 89 97 173.5 65.4 53 2290 108 3.62 2.64 9 82 4800 28 32 7463) (0 89 97 173.5 65.4 53 2455 108 3.62 2.64 9 94 5200 25 31 10198) (0 85 96.9 173.6 65.4 54.9 2420 108 3.62 2.64 9 82 4800 23 29 8013) (0 85 96.9 173.6 65.4 54.9 2650 108 3.62 2.64 7.7 111 4800 23 23 11694) (1 87 95.7 158.7 63.6 54.5 1985 92 3.05 3.03 9 62 4800 35 39 5348) (1 87 95.7 158.7 63.6 54.5 2040 92 3.05 3.03 9 62 4800 31 38 6338) (1 74 95.7 158.7 63.6 54.5 2015 92 3.05 3.03 9 62 4800 31 38 6488) (0 77 95.7 169.7 63.6 59.1 2280 92 3.05 3.03 9 62 4800 31 37 6918) (0 81 95.7 169.7 63.6 59.1 2290 92 3.05 3.03 9 62 4800 27 32 7898) (0 91 95.7 169.7 63.6 59.1 3110 92 3.05 3.03 9 62 4800 27 32 8778) (0 91 95.7 166.3 64.4 53 2081 98 3.19 3.03 9 70 4800 30 37 6938) (0 91 95.7 166.3 64.4 52.8 2109 98 3.19 3.03 9 70 4800 30 37 7198) (0 91 95.7 166.3 64.4 53 2275 110 3.27 3.35 22.5 56 4500 34 36 7898) (0 91 95.7 166.3 64.4 52.8 2275 110 3.27 3.35 22.5 56 4500 38 47 7788) (0 91 95.7 166.3 64.4 53 2094 98 3.19 3.03 9 70 4800 38 47 7738) (0 91 95.7 166.3 64.4 52.8 2122 98 3.19 3.03 9 70 4800 28 34 8358) (0 91 95.7 166.3 64.4 52.8 2140 98 3.19 3.03 9 70 4800 28 34 9258) (1 168 94.5 168.7 64 52.6 2169 98 3.19 3.03 9 70 4800 29 34 8058) (1 168 94.5 168.7 64 52.6 2204 98 3.19 3.03 9 70 4800 29 34 8238) (1 168 94.5 168.7 64 52.6 2265 98 3.24 3.08 9.4 112 6600 26 29 9298) (1 168 94.5 168.7 64 52.6 2300 98 3.24 3.08 9.4 112 6600 26 29 9538) (2 134 98.4 176.2 65.6 52 2540 146 3.62 3.5 9.3 116 4800 24 30 8449) (2 134 98.4 176.2 65.6 52 2536 146 3.62 3.5 9.3 116 4800 24 30 9639) (2 134 98.4 176.2 65.6 52 2551 146 3.62 3.5 9.3 116 4800 24 30 9989) (2 134 98.4 176.2 65.6 52 2679 146 3.62 3.5 9.3 116 4800 24 30 11199) (2 134 98.4 176.2 65.6 52 2714 146 3.62 3.5 9.3 116 4800 24 30 11549) (2 134 98.4 176.2 65.6 53 2975 146 3.62 3.5 9.3 116 4800 24 30 17669) (-1 65 102.4 175.6 66.5 54.9 2326 122 3.31 3.54 8.7 92 4200 29 34 8948) (-1 65 102.4 175.6 66.5 54.9 2480 110 3.27 3.35 22.5 73 4500 30 33 10698) (-1 65 102.4 175.6 66.5 53.9 2414 122 3.31 3.54 8.7 92 4200 27 32 9988) (-1 65 102.4 175.6 66.5 54.9 2414 122 3.31 3.54 8.7 92 4200 27 32 10898) (-1 65 102.4 175.6 66.5 53.9 2458 122 3.31 3.54 8.7 92 4200 27 32 11248) (3 197 102.9 183.5 67.7 52 2976 171 3.27 3.35 9.3 161 5200 20 24 16558) (3 197 102.9 183.5 67.7 52 3016 171 3.27 3.35 9.3 161 5200 19 24 15998) (-1 90 104.5 187.8 66.5 54.1 3131 171 3.27 3.35 9.2 156 5200 20 24 15690) (2 122 97.3 171.7 65.5 55.7 2261 97 3.01 3.4 23 52 4800 37 46 7775) (2 122 97.3 171.7 65.5 55.7 2209 109 3.19 3.4 9 85 5250 27 34 7975) (2 94 97.3 171.7 65.5 55.7 2264 97 3.01 3.4 23 52 4800 37 46 7995) (2 94 97.3 171.7 65.5 55.7 2212 109 3.19 3.4 9 85 5250 27 34 8195) (2 94 97.3 171.7 65.5 55.7 2275 109 3.19 3.4 9 85 5250 27 34 8495) (2 94 97.3 171.7 65.5 55.7 2319 97 3.01 3.4 23 68 4500 37 42 9495) (2 94 97.3 171.7 65.5 55.7 2300 109 3.19 3.4 10 100 5500 26 32 9995) (3 256 94.5 165.7 64 51.4 2221 109 3.19 3.4 8.5 90 5500 24 29 9980) (-2 103 104.3 188.8 67.2 56.2 2912 141 3.78 3.15 9.5 114 5400 23 28 12940) (-1 74 104.3 188.8 67.2 57.5 3034 141 3.78 3.15 9.5 114 5400 23 28 13415) (-2 103 104.3 188.8 67.2 56.2 2935 141 3.78 3.15 9.5 114 5400 24 28 15985) (-1 74 104.3 188.8 67.2 57.5 3042 141 3.78 3.15 9.5 114 5400 24 28 16515) (-2 103 104.3 188.8 67.2 56.2 3045 130 3.62 3.15 7.5 162 5100 17 22 18420) (-1 74 104.3 188.8 67.2 57.5 3157 130 3.62 3.15 7.5 162 5100 17 22 18950) (-1 95 109.1 188.8 68.9 55.5 2952 141 3.78 3.15 9.5 114 5400 23 28 16845) (-1 95 109.1 188.8 68.8 55.5 3049 141 3.78 3.15 8.7 160 5300 19 25 19045) (-1 95 109.1 188.8 68.9 55.5 3012 173 3.58 2.87 8.8 134 5500 18 23 21485) (-1 95 109.1 188.8 68.9 55.5 3217 145 3.01 3.4 23 106 4800 26 27 22470) (-1 95 109.1 188.8 68.9 55.5 3062 141 3.78 3.15 9.5 114 5400 19 25 22625) )))