diff --git a/tab_automl/automl/datasets.py b/tab_automl/automl/datasets.py index 2e2e1f0..bba79ca 100644 --- a/tab_automl/automl/datasets.py +++ b/tab_automl/automl/datasets.py @@ -106,6 +106,36 @@ def prepare_x_and_y(self, print(f"X feature set and target feature has been split...") return x, y + + +class ClusteringDataset: + """ + + Dataset Class for Clustering. + Currently supports single feature target only. + + """ + + def __init__(self, path): + # reading the dataset from source + if path.endswith(".txt"): + self.data = pd.read_table(path, delimiter='\s') + elif path.endswith(".json"): + self.data = pd.read_json(path) + elif path.endswith(".xlsx"): + self.data = pd.read_excel(path) + elif path.endswith(".sqlite"): + table_name = input("table name :") + db = sqlite3.connect(path) + self.data = pd.read_sql_query(f'Select * from {table_name}', db) + elif path.endswith(".csv"): + self.data = pd.read_csv(path) + else: + print("File type not supported") + # storing the columns overview + self.columns = pd.Series([str(self.data[feature].dtype) for feature in self.data.columns]) + self.labels = None + print(f"Populated the dataframe with data records...") class Iris: @@ -190,3 +220,35 @@ def prepare_x_and_y(self, print(f"X feature set and target feature has been split...") return x, y + + +class Credit_Card_Customer_Data: + """ + + Credit_Card_Customer_Data Dataset + ============ + + This class will be an example for + other clustering datasets or for + custom datasets prepared on comma + separated value format to be precise. + + """ + + def __init__(self): + # reading the dataset from source + self.data = pd.read_csv("tab_automl/datasets/Credit_Card_Customer_Data.csv") + # storing the columns overview + self.columns = pd.Series([str(self.data[feature].dtype) for feature in self.data.columns]) + self.labels = None + print(f"Populated the dataframe with data records...") + + """ + Defining x + """ + + x = self.data + print(f"X feature set has been set...") + + return x + diff --git a/tab_automl/datasets/Credit_Card_Customer_Data.csv b/tab_automl/datasets/Credit_Card_Customer_Data.csv new file mode 100644 index 0000000..338f393 --- /dev/null +++ b/tab_automl/datasets/Credit_Card_Customer_Data.csv @@ -0,0 +1,661 @@ +Sl_No,Customer Key,Avg_Credit_Limit,Total_Credit_Cards,Total_visits_bank,Total_visits_online,Total_calls_made +1,87073,100000,2,1,1,0 +2,38414,50000,3,0,10,9 +3,17341,50000,7,1,3,4 +4,40496,30000,5,1,1,4 +5,47437,100000,6,0,12,3 +6,58634,20000,3,0,1,8 +7,48370,100000,5,0,11,2 +8,37376,15000,3,0,1,1 +9,82490,5000,2,0,2,2 +10,44770,3000,4,0,1,7 +11,52741,10000,4,0,5,5 +12,52326,13000,3,0,2,7 +13,92503,11000,1,2,5,9 +14,25084,9000,1,1,5,6 +15,68517,6000,2,2,4,6 +16,55196,8000,2,0,5,7 +17,62617,15000,2,1,2,4 +18,96463,8000,2,0,3,4 +19,39137,11000,2,2,2,7 +20,14309,19000,4,1,5,8 +21,29794,5000,3,2,5,5 +22,87241,16000,2,0,3,7 +23,30507,6000,4,1,4,6 +24,61061,9000,1,1,3,4 +25,24001,8000,2,0,2,10 +26,68067,18000,1,1,5,10 +27,65034,16000,3,0,5,9 +28,14854,9000,2,2,2,10 +29,81130,5000,2,0,4,6 +30,29112,8000,4,0,4,7 +31,13999,16000,3,1,5,4 +32,32550,11000,3,1,5,6 +33,82164,6000,1,0,5,10 +34,61517,16000,1,0,5,6 +35,28254,8000,4,1,3,10 +36,30888,19000,2,0,4,4 +37,46388,9000,3,1,4,10 +38,74126,17000,2,0,4,6 +39,52142,13000,4,1,3,10 +40,37659,10000,2,2,4,9 +41,83132,19000,4,2,5,9 +42,20119,10000,1,1,2,7 +43,52363,16000,4,2,3,4 +44,50769,20000,2,0,4,4 +45,68502,11000,4,2,4,5 +46,99026,14000,4,1,4,9 +47,83326,5000,1,2,2,5 +48,62040,11000,1,2,2,6 +49,37252,6000,4,0,2,8 +50,74625,14000,3,2,2,6 +51,51182,13000,1,0,5,9 +52,60301,6000,2,1,5,5 +53,96386,17000,2,1,5,8 +54,43886,9000,3,0,5,9 +55,78503,14000,2,0,4,9 +56,68419,6000,1,2,2,4 +57,32828,6000,1,0,2,5 +58,17937,6000,2,0,2,10 +59,71632,9000,1,0,4,7 +60,81566,19000,4,1,4,9 +61,29759,20000,4,1,4,7 +62,36929,18000,1,2,2,9 +63,70248,5000,1,0,2,4 +64,91673,14000,3,0,4,6 +65,61355,12000,1,0,5,9 +66,60403,16000,1,1,4,4 +67,85868,19000,2,0,3,6 +68,76205,9000,4,2,2,6 +69,66524,7000,1,2,4,10 +70,69214,20000,1,2,3,7 +71,21976,14000,1,2,4,7 +72,35149,6000,3,2,2,7 +73,27120,11000,3,1,2,6 +74,18821,19000,3,1,3,6 +75,33187,7000,2,0,5,8 +76,93482,16000,3,1,4,6 +77,90168,17000,1,2,4,6 +78,71881,13000,3,1,4,4 +79,59656,6000,2,0,4,10 +80,12026,15000,1,1,2,7 +81,99589,20000,2,2,4,8 +82,38970,7000,3,1,5,5 +83,57990,13000,1,1,2,5 +84,39447,13000,3,1,4,6 +85,79694,9000,3,2,4,5 +86,79403,10000,1,1,4,5 +87,47296,6000,4,1,3,7 +88,37559,5000,4,1,2,5 +89,38165,8000,1,1,4,8 +90,49198,7000,4,2,4,8 +91,18007,13000,2,1,4,6 +92,59619,13000,1,1,2,10 +93,37016,5000,1,1,4,6 +94,91099,8000,1,2,5,7 +95,74704,20000,2,2,4,4 +96,25742,5000,1,2,5,7 +97,11937,18000,3,2,3,6 +98,52736,15000,2,0,5,4 +99,88338,13000,1,1,4,9 +100,18916,5000,2,1,4,6 +101,92501,11000,1,0,5,6 +102,96213,11000,1,1,5,9 +103,26599,10000,4,1,5,10 +104,73007,13000,1,0,3,7 +105,97935,17000,2,1,2,10 +106,26089,12000,2,1,4,9 +107,14946,20000,2,1,5,5 +108,74795,5000,2,2,2,6 +109,73435,8000,3,2,2,6 +110,41634,18000,4,2,3,8 +111,84069,15000,4,2,3,5 +112,83244,12000,2,0,4,9 +113,87291,18000,4,1,3,10 +114,18086,7000,4,1,2,4 +115,33369,18000,4,0,3,6 +116,15310,7000,2,2,3,7 +117,98499,18000,1,0,2,7 +118,35256,17000,4,0,4,7 +119,89007,14000,3,1,4,5 +120,93997,9000,3,0,4,9 +121,16577,10000,4,2,4,6 +122,25440,13000,3,0,5,10 +123,81116,10000,2,2,2,4 +124,63663,17000,1,1,4,8 +125,69811,5000,2,2,3,7 +126,36111,14000,2,1,5,5 +127,39454,20000,4,1,4,9 +128,70199,6000,3,2,3,9 +129,11602,8000,4,1,5,4 +130,49697,9000,3,1,4,6 +131,28701,18000,3,1,5,6 +132,61627,9000,3,0,2,5 +133,34103,12000,4,0,2,6 +134,14248,10000,3,1,5,9 +135,31256,13000,4,1,5,7 +136,45583,15000,3,2,3,6 +137,52750,17000,3,0,2,8 +138,95507,15000,2,0,5,8 +139,23743,15000,1,1,5,9 +140,53410,19000,1,0,3,10 +141,53898,14000,3,0,2,8 +142,66200,16000,2,0,4,5 +143,58389,9000,4,1,4,8 +144,61347,9000,2,1,5,4 +145,59151,10000,4,2,4,8 +146,37802,13000,3,0,4,4 +147,60475,13000,2,1,3,9 +148,95489,5000,2,2,5,6 +149,77758,7000,1,2,2,10 +150,23768,14000,2,1,2,7 +151,87471,11000,3,2,2,9 +152,85707,19000,1,1,4,4 +153,97951,15000,3,2,2,6 +154,54785,7000,4,0,4,6 +155,97011,8000,4,2,3,10 +156,35103,19000,1,1,4,5 +157,18564,12000,3,2,5,7 +158,61009,17000,1,2,5,8 +159,24054,10000,3,2,5,9 +160,63751,8000,1,2,2,4 +161,52758,7000,1,0,3,10 +162,78473,8000,3,2,5,5 +163,80457,8000,2,0,3,4 +164,59783,16000,3,0,5,10 +165,64241,13000,4,0,4,8 +166,32374,14000,1,0,4,9 +167,97536,13000,4,0,4,7 +168,33110,15000,4,2,3,6 +169,36978,9000,1,1,4,9 +170,54281,14000,3,1,4,7 +171,98602,7000,2,1,2,8 +172,97687,6000,2,2,3,7 +173,28842,20000,2,0,5,6 +174,38410,9000,2,1,5,8 +175,38261,17000,4,1,2,7 +176,20524,6000,1,0,2,5 +177,37671,11000,2,2,2,5 +178,25330,14000,3,0,4,8 +179,41787,6000,1,1,4,7 +180,11412,19000,2,2,3,4 +181,55892,10000,1,0,3,5 +182,95495,13000,3,0,2,10 +183,41946,11000,3,0,3,7 +184,86410,16000,1,2,5,8 +185,76718,14000,4,0,2,4 +186,98969,18000,3,0,4,4 +187,77143,9000,1,2,2,6 +188,38205,16000,2,2,3,8 +189,53851,17000,2,0,3,5 +190,52783,6000,3,2,3,5 +191,63405,20000,3,0,4,10 +192,48510,10000,2,1,3,6 +193,97463,20000,3,0,3,5 +194,18145,6000,2,2,5,8 +195,14398,12000,2,0,4,4 +196,98288,8000,2,1,4,8 +197,69704,14000,2,0,2,8 +198,29058,12000,1,1,2,7 +199,15546,19000,1,1,4,7 +200,16715,7000,4,2,4,9 +201,87350,8000,3,0,2,9 +202,13215,11000,1,0,3,8 +203,20593,5000,1,0,3,8 +204,56624,9000,2,0,3,7 +205,33317,17000,2,2,5,5 +206,99596,17000,1,0,5,5 +207,72430,17000,2,1,2,4 +208,16676,19000,4,2,4,4 +209,40486,11000,2,0,3,9 +210,90958,9000,1,0,2,9 +211,67212,16000,4,1,4,6 +212,44226,10000,3,1,5,4 +213,94251,10000,3,1,3,4 +214,61776,8000,1,0,2,10 +215,55275,15000,4,1,4,9 +216,18609,8000,4,0,4,7 +217,54477,11000,3,1,5,4 +218,12122,11000,4,0,2,5 +219,28208,19000,3,1,5,7 +220,68003,13000,2,1,5,8 +221,79632,8000,1,0,3,10 +222,73811,7000,2,2,5,6 +223,72892,20000,4,1,3,10 +224,51773,20000,2,2,4,10 +225,96163,12000,4,1,5,9 +226,61234,16000,4,1,2,5 +227,55849,8000,1,2,4,8 +228,56156,8000,2,2,3,8 +229,54838,10000,7,2,0,0 +230,35254,8000,7,2,1,4 +231,46635,17000,4,5,0,2 +232,97825,19000,6,3,2,3 +233,83125,20000,5,4,1,0 +234,35483,13000,7,2,1,0 +235,15129,16000,6,5,0,4 +236,83290,13000,7,4,0,0 +237,56486,8000,7,5,2,3 +238,31903,8000,6,4,0,4 +239,45909,19000,5,2,2,0 +240,14263,16000,5,2,0,0 +241,46813,20000,4,2,2,1 +242,81878,10000,4,5,1,3 +243,35549,8000,4,3,2,4 +244,85799,12000,6,4,2,1 +245,39122,5000,7,3,2,4 +246,81531,10000,4,2,1,0 +247,69965,7000,4,5,0,1 +248,18595,19000,7,3,1,2 +249,44398,11000,6,5,1,0 +250,32352,9000,6,5,2,0 +251,40898,18000,6,3,1,4 +252,27101,18000,6,2,1,2 +253,33457,9000,4,5,0,4 +254,45088,18000,6,2,1,4 +255,23302,16000,4,3,1,0 +256,27408,7000,5,5,2,3 +257,65372,13000,7,3,1,4 +258,21531,10000,6,4,2,3 +259,56843,12000,6,3,2,1 +260,17165,6000,4,4,1,4 +261,89328,15000,4,5,1,0 +262,20072,18000,5,3,0,4 +263,71402,14000,5,4,2,1 +264,47496,14000,4,2,0,0 +265,24808,17000,4,4,1,2 +266,17036,9000,7,4,2,1 +267,67193,20000,7,5,0,0 +268,34423,15000,6,4,0,1 +269,97109,17000,6,5,0,0 +270,55382,16000,5,5,1,2 +271,51811,10000,4,5,2,1 +272,53936,7000,7,2,0,4 +273,66504,17000,6,2,2,4 +274,53207,18000,6,5,2,1 +275,18514,10000,5,5,1,3 +276,51319,16000,6,2,1,3 +277,36340,15000,4,5,2,0 +278,36934,17000,4,5,0,4 +279,95925,10000,7,4,2,4 +280,49771,6000,6,5,2,1 +281,22919,7000,6,4,1,2 +282,21233,14000,7,2,0,0 +283,74544,6000,6,3,1,1 +284,52025,7000,4,3,1,0 +285,45652,12000,7,2,1,2 +286,73952,11000,5,5,2,4 +287,49418,8000,4,5,0,0 +288,77026,19000,7,2,0,1 +289,49331,7000,5,2,2,4 +290,75775,7000,6,5,2,2 +291,54906,18000,6,3,1,0 +292,94666,5000,7,3,2,2 +293,11698,17000,4,3,0,4 +294,34677,6000,5,2,1,0 +295,95610,7000,6,5,2,3 +296,41380,10000,6,4,2,3 +297,38033,11000,4,4,0,2 +298,85337,7000,7,4,0,0 +299,38994,12000,6,5,0,2 +300,67911,9000,6,5,2,3 +301,92956,15000,6,5,0,0 +302,77641,8000,6,4,2,4 +303,57565,17000,4,2,2,2 +304,53814,13000,4,5,2,2 +305,30712,16000,4,4,2,4 +306,19785,19000,6,5,1,4 +307,31384,19000,6,3,0,0 +308,16374,8000,5,3,2,1 +309,50878,10000,4,5,0,3 +310,78002,14000,6,5,2,3 +311,83459,5000,4,5,0,1 +312,91987,10000,6,3,0,0 +313,51552,5000,7,3,1,4 +314,72156,7000,4,2,2,4 +315,24998,12000,7,3,1,2 +316,45673,19000,4,3,1,3 +317,11596,18000,6,4,0,2 +318,87485,5000,5,5,0,4 +319,28414,14000,6,4,0,3 +320,81863,8000,6,2,0,3 +321,33240,12000,6,5,2,1 +322,11466,9000,7,5,0,0 +323,23881,8000,6,3,1,2 +324,44645,6000,4,2,2,2 +325,49844,9000,4,5,0,4 +326,92782,14000,4,4,2,3 +327,22824,6000,4,4,2,3 +328,26767,11000,5,5,1,1 +329,26678,14000,4,4,2,1 +330,50412,5000,7,4,2,4 +331,17933,19000,6,3,1,2 +332,34495,18000,6,5,2,0 +333,47437,17000,7,3,1,0 +334,22610,15000,5,4,2,2 +335,41159,8000,7,4,2,0 +336,64672,19000,6,5,2,0 +337,62483,12000,4,4,2,1 +338,85614,6000,7,2,0,4 +339,96548,20000,6,2,0,1 +340,19137,10000,6,3,1,1 +341,69028,7000,6,3,1,1 +342,70779,18000,4,3,2,0 +343,38244,9000,6,4,2,3 +344,67046,6000,5,3,2,4 +345,64897,16000,5,2,2,1 +346,46223,14000,7,4,2,1 +347,36628,19000,6,3,0,1 +348,17565,5000,6,2,0,3 +349,77381,18000,4,4,2,3 +350,11799,11000,7,3,2,3 +351,81940,11000,5,2,0,2 +352,66706,12000,7,2,0,1 +353,87838,15000,5,2,0,0 +354,94437,9000,5,4,1,3 +355,33790,9000,7,4,0,2 +356,44402,10000,5,5,1,4 +357,29886,16000,6,5,1,1 +358,66804,7000,4,4,2,2 +359,47866,9000,5,2,2,0 +360,61996,8000,4,2,0,2 +361,15318,14000,6,3,0,1 +362,89635,18000,6,3,1,4 +363,71681,20000,5,5,2,1 +364,71862,6000,5,2,0,1 +365,96186,13000,6,4,2,3 +366,22348,13000,7,5,0,2 +367,36243,17000,7,5,0,3 +368,88807,8000,4,3,2,1 +369,82376,20000,4,3,0,3 +370,98126,19000,6,4,1,3 +371,80347,11000,5,3,2,3 +372,17649,6000,5,2,2,1 +373,62807,17000,6,5,1,1 +374,92522,6000,4,5,0,1 +375,57459,18000,6,5,0,4 +376,44579,16000,6,3,1,3 +377,45476,13000,5,4,1,2 +378,61994,19000,5,2,0,4 +379,11398,12000,6,5,2,1 +380,24702,6000,7,2,0,3 +381,27824,13000,7,2,0,4 +382,45878,19000,4,2,0,1 +383,72431,6000,6,3,2,3 +384,19215,18000,5,3,1,3 +385,23409,8000,4,4,0,0 +386,16418,8000,7,4,2,0 +387,85122,18000,5,2,2,2 +388,55060,8000,7,3,0,3 +389,55478,12000,5,4,2,1 +390,65574,11000,4,5,0,3 +391,31113,11000,4,2,0,4 +392,96929,13000,4,5,0,0 +393,78912,6000,4,4,0,0 +394,68439,20000,4,2,0,1 +395,62864,13000,7,4,0,1 +396,31515,5000,4,5,0,1 +397,77954,73000,6,4,2,0 +398,88207,49000,5,3,2,0 +399,96929,67000,6,2,2,2 +400,78618,61000,7,3,0,1 +401,31551,75000,7,3,2,4 +402,75792,48000,4,4,0,3 +403,29864,56000,4,2,0,2 +404,45440,72000,4,3,2,1 +405,97954,70000,7,2,0,4 +406,90189,51000,7,3,0,4 +407,55090,73000,6,2,0,2 +408,17703,50000,5,4,0,1 +409,33991,49000,5,3,0,1 +410,88884,69000,7,2,2,2 +411,45808,40000,5,2,2,2 +412,50706,44000,4,5,0,2 +413,92140,31000,6,5,2,1 +414,88123,37000,7,5,0,1 +415,53932,65000,4,3,0,3 +416,65908,48000,7,3,2,3 +417,25321,46000,5,2,2,3 +418,87456,61000,5,5,1,4 +419,48602,74000,5,2,0,0 +420,97530,58000,6,4,0,1 +421,48657,39000,5,3,2,2 +422,76209,70000,5,5,0,4 +423,49913,56000,6,3,1,0 +424,53002,52000,5,3,0,3 +425,61122,33000,5,4,2,0 +426,82807,47000,6,2,0,4 +427,93496,71000,7,2,0,2 +428,64519,50000,7,5,2,2 +429,31950,56000,4,4,0,3 +430,23110,41000,4,4,1,0 +431,96297,71000,6,4,0,0 +432,28408,72000,6,5,2,3 +433,37252,59000,6,2,1,2 +434,41287,64000,6,3,2,3 +435,52460,45000,4,2,1,2 +436,26604,74000,4,5,0,3 +437,58019,73000,4,2,1,1 +438,87219,54000,6,3,0,2 +439,36839,31000,7,2,1,4 +440,12663,66000,7,4,0,3 +441,48667,50000,5,3,0,3 +442,42887,27000,6,2,1,3 +443,14439,51000,4,3,0,3 +444,60851,65000,6,5,2,3 +445,41266,67000,6,5,2,0 +446,37438,43000,7,5,0,4 +447,65747,70000,5,4,0,2 +448,81166,61000,5,2,2,1 +449,20570,31000,4,4,2,1 +450,14816,36000,4,3,2,3 +451,11265,51000,7,3,2,0 +452,24980,36000,4,4,2,2 +453,37934,50000,5,4,2,3 +454,70707,74000,4,4,0,3 +455,84351,25000,4,3,0,2 +456,89446,47000,6,2,0,4 +457,17325,41000,6,5,2,3 +458,64774,57000,5,2,0,4 +459,53166,67000,7,2,1,3 +460,45341,74000,7,4,2,4 +461,94595,26000,6,4,2,3 +462,55170,38000,4,4,2,3 +463,92489,75000,4,4,0,1 +464,92933,38000,4,5,1,4 +465,36504,52000,4,2,1,2 +466,40508,48000,5,5,0,2 +467,15798,70000,6,2,0,3 +468,70101,36000,4,4,2,1 +469,77613,36000,5,5,0,4 +470,84360,66000,6,2,1,1 +471,48402,37000,5,5,1,4 +472,46776,48000,6,3,2,2 +473,67258,35000,6,3,1,4 +474,44804,26000,6,3,1,2 +475,29919,38000,4,3,1,4 +476,65781,45000,5,5,2,2 +477,12456,70000,6,5,0,4 +478,62649,51000,7,5,2,4 +479,74446,34000,6,3,2,1 +480,36632,47000,7,3,2,2 +481,76024,47000,6,2,0,0 +482,75065,30000,7,3,1,0 +483,51682,74000,4,2,0,4 +484,18397,30000,5,4,1,1 +485,29102,28000,5,4,1,1 +486,56367,58000,7,3,2,1 +487,95147,64000,4,2,2,2 +488,44379,39000,7,5,2,1 +489,76957,44000,6,4,0,2 +490,42921,50000,7,5,2,1 +491,23102,65000,4,2,0,0 +492,61324,63000,4,5,0,0 +493,49690,50000,6,4,2,0 +494,20043,35000,6,2,1,4 +495,44144,29000,4,3,0,1 +496,53552,56000,7,3,0,3 +497,62530,49000,5,3,2,3 +498,41741,52000,4,2,1,2 +499,22842,31000,4,4,1,0 +500,65825,68000,6,4,2,2 +501,77826,41000,5,4,0,4 +502,61216,38000,6,3,1,0 +503,83192,54000,6,2,2,4 +504,82023,70000,6,3,0,0 +505,73000,34000,6,5,1,0 +506,64550,68000,5,2,0,2 +507,90131,26000,6,5,2,3 +508,17382,42000,6,3,2,0 +509,27117,59000,7,2,0,3 +510,94529,30000,4,4,2,1 +511,21717,33000,6,2,2,2 +512,81910,49000,6,2,0,2 +513,76492,62000,6,2,1,3 +514,43000,40000,5,3,1,4 +515,48692,30000,5,2,2,3 +516,27476,37000,4,4,2,2 +517,15086,32000,7,4,0,3 +518,43034,62000,4,2,2,3 +519,99131,36000,7,4,0,2 +520,13140,57000,7,2,0,0 +521,99437,39000,6,4,0,4 +522,91242,70000,4,3,2,2 +523,39285,36000,7,5,0,0 +524,63710,69000,6,3,0,2 +525,90860,59000,7,3,2,4 +526,35585,71000,5,4,1,0 +527,58708,29000,4,2,2,3 +528,57451,37000,5,2,1,3 +529,69868,34000,4,3,0,1 +530,43679,34000,6,3,2,4 +531,30256,38000,4,3,0,0 +532,26334,32000,4,3,2,2 +533,47848,48000,4,3,2,2 +534,17377,36000,6,3,0,3 +535,39644,56000,6,4,0,3 +536,29176,28000,4,5,1,3 +537,55706,48000,4,4,1,0 +538,51771,68000,7,3,1,4 +539,83585,74000,7,4,1,3 +540,51867,70000,4,4,1,0 +541,68040,45000,7,2,0,3 +542,50706,60000,7,5,2,2 +543,75417,47000,5,5,1,2 +544,34775,60000,5,2,1,0 +545,85645,54000,6,3,1,2 +546,83545,28000,7,5,0,4 +547,44157,68000,7,2,1,4 +548,38125,26000,4,5,2,4 +549,75398,56000,4,3,0,4 +550,90999,39000,7,5,2,3 +551,70376,59000,7,5,2,3 +552,33295,37000,7,2,1,1 +553,80942,65000,7,3,2,1 +554,26493,41000,7,4,1,3 +555,97850,33000,5,2,2,0 +556,43841,52000,4,5,0,4 +557,79885,60000,4,5,0,4 +558,59316,62000,7,4,1,4 +559,83466,40000,6,5,1,2 +560,81510,41000,7,5,2,3 +561,35268,46000,6,3,1,0 +562,11734,29000,7,5,0,2 +563,88411,56000,7,3,0,1 +564,96269,69000,5,4,1,0 +565,87683,36000,7,4,0,0 +566,26063,69000,6,5,0,1 +567,42479,38000,6,5,0,1 +568,58116,29000,7,3,1,1 +569,67282,58000,6,5,1,0 +570,84888,72000,6,4,1,0 +571,75366,64000,4,2,1,1 +572,14377,36000,7,2,0,4 +573,59074,71000,7,4,0,2 +574,96534,66000,7,2,2,3 +575,31870,70000,4,3,2,0 +576,24748,73000,5,3,0,4 +577,68920,30000,6,3,1,1 +578,67637,44000,5,3,0,4 +579,60839,39000,7,5,0,3 +580,59170,65000,4,3,0,0 +581,90586,52000,4,5,2,1 +582,56270,26000,6,5,1,4 +583,87670,68000,6,5,1,0 +584,47703,52000,6,2,0,0 +585,35421,34000,6,4,1,3 +586,58511,39000,7,4,0,4 +587,76398,31000,7,3,0,2 +588,93310,70000,4,3,0,4 +589,36836,55000,4,3,1,0 +590,46373,29000,4,5,0,2 +591,94700,36000,6,2,2,3 +592,67860,68000,5,2,1,4 +593,99473,54000,5,4,2,1 +594,68862,66000,4,5,1,1 +595,93381,60000,4,2,1,4 +596,46548,41000,7,4,2,2 +597,74083,42000,6,4,2,0 +598,48660,38000,7,5,2,1 +599,13720,64000,5,4,1,2 +600,72339,57000,6,2,2,0 +601,99284,68000,7,5,0,0 +602,47198,33000,5,4,0,2 +603,67415,37000,7,4,0,1 +604,44403,60000,6,3,2,3 +605,58276,27000,7,3,0,2 +606,85234,36000,5,2,2,3 +607,31948,63000,5,3,1,3 +608,90191,34000,6,3,1,0 +609,49341,47000,4,4,1,0 +610,11562,38000,4,3,2,0 +611,16253,39000,7,2,1,0 +612,80623,46000,7,4,1,3 +613,94391,157000,9,1,14,1 +614,50598,94000,9,1,11,0 +615,40019,163000,8,1,7,1 +616,77910,131000,9,1,10,1 +617,89832,96000,10,1,11,2 +618,98216,136000,8,0,13,0 +619,54495,121000,7,0,13,2 +620,47650,158000,7,0,13,0 +621,32107,108000,10,0,15,1 +622,84192,166000,9,1,12,2 +623,53916,176000,10,1,15,2 +624,32584,166000,10,0,7,0 +625,97285,178000,7,0,11,0 +626,20337,91000,8,1,6,1 +627,15585,156000,9,1,10,2 +628,20620,146000,10,0,12,1 +629,75009,84000,9,1,15,0 +630,76203,155000,8,0,7,2 +631,33837,200000,10,0,13,0 +632,14916,195000,8,0,15,0 +633,97935,187000,7,1,7,0 +634,16180,163000,7,1,10,1 +635,49493,106000,8,0,8,1 +636,70974,114000,10,1,7,2 +637,40217,126000,10,1,8,0 +638,88442,173000,9,1,11,0 +639,17538,153000,8,1,7,1 +640,90839,184000,7,1,15,2 +641,99843,123000,8,1,15,2 +642,27212,144000,10,0,10,2 +643,91575,97000,10,1,9,2 +644,60190,98000,9,0,8,2 +645,18519,127000,10,1,15,1 +646,48762,171000,10,0,15,0 +647,58392,186000,7,0,8,1 +648,79953,183000,9,0,9,2 +649,13315,111000,8,1,7,0 +650,30570,112000,10,1,8,1 +651,78996,195000,10,1,12,2 +652,78404,132000,9,1,12,2 +653,28525,156000,8,1,8,0 +654,51826,95000,10,0,15,1 +655,65750,172000,10,1,9,1 +656,51108,99000,10,1,10,0 +657,60732,84000,10,1,13,2 +658,53834,145000,8,1,9,1 +659,80655,172000,10,1,15,0 +660,80150,167000,9,0,12,2 diff --git a/test.py b/test.py index da44af3..adf5cc0 100644 --- a/test.py +++ b/test.py @@ -67,7 +67,7 @@ def test(): classification_test() # Testing Regression regression_test() - + if __name__ == "__main__": test()