| DayF core 1.2.1.2 DayF (Decision at your Fingertips) is an AutoML freeware development framework that let developers works with Machine Learning models without any idea of AI, simply taking a csv dataset and the objective column

dataload.py
1
3
4 '''
5 Copyright (C) e2its - All Rights Reserved
6 * Unauthorized copying of this file, via any medium is strictly prohibited
7 * Proprietary and confidential
8 *
9 * This file is part of gDayF project.
10 *
11 * Written by Jose L. Sanchez del Coso <e2its.es@gmail.com>, 2016-2019
12 '''
13
14 from pandas import read_csv as read_csv
15
16
17 class DataLoad (object):
18
19
20
22 def __init__(self):
23 self.data = dict()
24 self.data['ARM'] = dict()
25 self.data['ARM']['test'] = 'https://raw.githubusercontent.com/e2its/datasets/master/ARM-Metric-test-TS.csv'
26 self.data['ARM']['train'] = 'https://raw.githubusercontent.com/e2its/datasets/master/ARM-Metric-train-TS.csv'
27 self.data['CPP'] = dict()
28 self.data['CPP']['train'] ='https://raw.githubusercontent.com/e2its/datasets/master/CPP_base_ampliado.csv'
29 self.data['CPP']['test'] ='https://raw.githubusercontent.com/e2its/datasets/master/CPP_base_ampliado.csv'
30 self.data['DM'] = dict()
31 self.data['DM']['train'] ='https://raw.githubusercontent.com/e2its/datasets/master/DM-Metric-missing-3.csv'
32 self.data['DM']['test'] = 'https://raw.githubusercontent.com/e2its/datasets/master/DM-Metric-missing-test-3.csv'
33 self.data['ENB'] = dict()
34 self.data['ENB']['train'] = 'https://raw.githubusercontent.com/e2its/datasets/master/ENB2012_data-Y1.csv'
35 self.data['ENB']['test'] = 'https://raw.githubusercontent.com/e2its/datasets/master/ENB2012_data-Y1.csv'
36 self.data['FOOTSET'] = dict()
37 self.data['FOOTSET']['train']= 'https://raw.githubusercontent.com/e2its/datasets/master/football.train2-r.csv'
38 self.data['FOOTSET']['test'] = 'https://raw.githubusercontent.com/e2its/datasets/master/football.test2-r.csv'
39
40 def arm(self):
41 return read_csv(self.data['ARM']['train']), read_csv(self.data['ARM']['test'])
42
43 def cpp(self):
44 return read_csv(self.data['CPP']['train']), read_csv(self.data['CPP']['test'])
45
46 def dm(self):
47 return read_csv(self.data['DM']['train']), read_csv(self.data['DM']['test'])
48
49 def enb(self):
50 return read_csv(self.data['ENB']['train']), read_csv(self.data['ENB']['test'])
51
52 def footset(self):
53 return read_csv(self.data['FOOTSET']['train']), read_csv(self.data['FOOTSET']['test'])
gdayf.common.dataload.DataLoad
Definition: dataload.py:17