From c17a1980032bca1666e10c3f0507ce4b2f056396 Mon Sep 17 00:00:00 2001 From: Trianta <56975502+Trimutex@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:02:24 -0500 Subject: [PATCH] Moved arff files to data folder --- data/contact-lenses.arff | 52 ++++++++++++++++++++++++ data/restaurant.arff | 28 +++++++++++++ {src/intro => data}/soybean.arff | 0 {src/intro => data}/weather.nominal.arff | 0 4 files changed, 80 insertions(+) create mode 100644 data/contact-lenses.arff create mode 100644 data/restaurant.arff rename {src/intro => data}/soybean.arff (100%) rename {src/intro => data}/weather.nominal.arff (100%) diff --git a/data/contact-lenses.arff b/data/contact-lenses.arff new file mode 100644 index 0000000..bf86d95 --- /dev/null +++ b/data/contact-lenses.arff @@ -0,0 +1,52 @@ +% Title: Database for fitting contact lenses +% +% Number of Instances: 24 +% +% Number of Attributes: 4 (all nominal) +% +% Attribute Information -- 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. +% +% Class Distribution: +% 1. hard contact lenses: 4 +% 2. soft contact lenses: 5 +% 3. no contact lenses: 15 + +@relation contact-lenses + +@attribute age {young, pre-presbyopic, presbyopic} +@attribute spectacle-prescrip {myope, hypermetrope} +@attribute astigmatism {no, yes} +@attribute tear-prod-rate {reduced, normal} +@attribute contact-lenses {soft, hard, none} + +@data +% +% 24 instances +% +young,myope,no,reduced,none +young,myope,no,normal,soft +young,myope,yes,reduced,none +young,myope,yes,normal,hard +young,hypermetrope,no,reduced,none +young,hypermetrope,no,normal,soft +young,hypermetrope,yes,reduced,none +young,hypermetrope,yes,normal,hard +pre-presbyopic,myope,no,reduced,none +pre-presbyopic,myope,no,normal,soft +pre-presbyopic,myope,yes,reduced,none +pre-presbyopic,myope,yes,normal,hard +pre-presbyopic,hypermetrope,no,reduced,none +pre-presbyopic,hypermetrope,no,normal,soft +pre-presbyopic,hypermetrope,yes,reduced,none +pre-presbyopic,hypermetrope,yes,normal,none +presbyopic,myope,no,reduced,none +presbyopic,myope,no,normal,none +presbyopic,myope,yes,reduced,none +presbyopic,myope,yes,normal,hard +presbyopic,hypermetrope,no,reduced,none +presbyopic,hypermetrope,no,normal,soft +presbyopic,hypermetrope,yes,reduced,none +presbyopic,hypermetrope,yes,normal,none diff --git a/data/restaurant.arff b/data/restaurant.arff new file mode 100644 index 0000000..5ed140c --- /dev/null +++ b/data/restaurant.arff @@ -0,0 +1,28 @@ +@relation restaurant +% determine whether a customer will wait for a table or not + +@attribute Alt {Yes, No} +@attribute Bar {Yes, No} +@attribute Fri {Yes, No} +@attribute Hun {Yes, No} +@attribute Pat {Some, Full, None} +@attribute Price {$, $$, $$$} +@attribute Rain {Yes, No} +@attribute Res {Yes, No} +@attribute Type {French, Thai, Burger, Italian} +@attribute Est {0-10, 10-30, 30-60, >60} +@attribute Wait {Yes, No} + +@data +Yes,No,No,Yes,Some,$$$,No,Yes,French,0-10,Yes +Yes,No,No,Yes,Full,$,No,No,Thai,30-60,No +No,Yes,No,No,Some,$,No,No,Burger,0-10,Yes +Yes,No,Yes,Yes,Full,$,Yes,No,Thai,10-30,Yes +Yes,No,Yes,No,Full,$$$,No,Yes,French,>60,No +No,Yes,No,Yes,Some,$$,Yes,Yes,Italian,0-10,Yes +No,Yes,No,No,None,$,Yes,No,Burger,0-10,No +No,No,No,Yes,Some,$$,Yes,Yes,Thai,0-10,Yes +No,Yes,Yes,No,Full,$,Yes,No,Burger,>60,No +Yes,Yes,Yes,Yes,Full,$$$,No,Yes,Italian,10-30,No +No,No,No,No,None,$,No,No,Thai,0-10,No +Yes,Yes,Yes,Yes,Full,$,No,No,Burger,30-60,Yes diff --git a/src/intro/soybean.arff b/data/soybean.arff similarity index 100% rename from src/intro/soybean.arff rename to data/soybean.arff diff --git a/src/intro/weather.nominal.arff b/data/weather.nominal.arff similarity index 100% rename from src/intro/weather.nominal.arff rename to data/weather.nominal.arff