Lenses
Donated on 7/31/1990
Database for fitting contact lenses
Dataset Characteristics
Multivariate
Subject Area
Other
Associated Tasks
Classification
Feature Type
Categorical
# Instances
24
# Features
3
Dataset Information
Additional Information
The examples are complete and noise free. The examples highly simplified the problem. The attributes do not fully describe all the factors affecting the decision as to which type, if any, to fit. Notes: --This database is complete (all possible combinations of attribute-value pairs are represented). --Each instance is complete and correct. --9 rules cover the training set.
Has Missing Values?
No
Variables Table
Variable Name | Role | Type | Demographic | Description | Units | Missing Values |
---|---|---|---|---|---|---|
id | ID | Integer | no | |||
age | Feature | Categorical | Age | no | ||
spectacle_prescription | Feature | Categorical | no | |||
astigmatic | Feature | Binary | no | |||
class | Target | Categorical | no |
0 to 5 of 5
Additional Variable Information
1. age of the patient: (1) young, (2) pre-presbyopic, (3) presbyopic 2. spectacle prescription: (1) myope, (2) hypermetrope 3. astigmatic: (1) no, (2) yes 4. tear production rate: (1) reduced, (2) normal
Class Labels
-- 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.
Dataset Files
File | Size |
---|---|
lenses.names | 1.6 KB |
lenses.data | 408 Bytes |
Index | 111 Bytes |
Papers Citing this Dataset
Sort by Year, desc
By Ibrahim Aydilek, Abdülkadir Gümüşçü. 2018
Published in International Journal of Information Technology and Computer Science.
By Sujatha Srinivasan, Sivakumar Ramakrishnan. 2012
Published in Procedia Engineering.
0 to 2 of 2
Reviews
There are no reviews for this dataset yet.
pip install ucimlrepo
from ucimlrepo import fetch_ucirepo # fetch dataset lenses = fetch_ucirepo(id=58) # data (as pandas dataframes) X = lenses.data.features y = lenses.data.targets # metadata print(lenses.metadata) # variable information print(lenses.variables)
Cendrowska, J. (1987). Lenses [Dataset]. UCI Machine Learning Repository. https://doi.org/10.24432/C5K88Z.
Creators
J. Cendrowska
DOI
License
This dataset is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license.
This allows for the sharing and adaptation of the datasets for any purpose, provided that the appropriate credit is given.