Академический Документы
Профессиональный Документы
Культура Документы
Table 1 shows the Lenses data from the UCI Machine Learning repository which can be used to predict a contact lens recommendation. The data conforms to the following encoding:1 -- 3 Classes 1 : the patient should be fitted with hard contact lenses, 2 : the patient should be fitted with soft contact lenses, 3 : the patient should not be fitted with contact lenses. 1. 2. 3. 4. age of the patient: (1) young, (2) pre-presbyopic, (3) presbyopic spectacle prescription: (1) myope, (2) hypermetrope astigmatic: (1) no, (2) yes tear production rate: (1) reduced, (2) normal
xi
(m)
i i
(1)
This text was taken directly from the UCI website (modulo a clear typo in the class encoding) http://archive.ics.uci.edu/ml/datasets/Lenses 2 http://archive.ics.uci.edu/ml/datasets/Credit+Approval 3 Note that you will also have to do this with the testing data.
id age 1 1 2 1 5 1 6 1 7 1 8 1 9 2 10 2 12 2 13 2 15 2 16 2 18 3 19 3 20 3 21 3 23 3 24 3 3 4 11 14 17 22 1 1 2 2 3 3
prescription 1 1 2 2 2 2 1 1 1 2 2 2 1 1 1 2 2 2 1 1 1 2 1 2
Table 1: Lenses data for Problem 2 such that zi indicates feature i for instance m (similarly xi is the raw input), i is the average value of feature i over all instances, and i is the corresponding standard deviation over all instances.
(m) (m)