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
experiment_context.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 <e2its.es@gmail.com>, 2016-2019
12 '''
13 
14 from gdayf.conf.loadconfig import LoadConfig
15 from gdayf.conf.loadconfig import LoadLabels
16 from time import time
17 
18 
19 class Experiment_Context(object):
20  def __init__(self, user_id='PoC_gDayF', workflow_id='default', lang='en'):
21  self.id_user = user_id
22  self.timestamp = str(time())
23  self.id_workflow = workflow_id
24  self.config = LoadConfig(user_id=self.id_user)
25  self.labels = LoadLabels(lang=lang)
26  self.id_analysis = None
27  self.spark_temporal_data_frames = dict()
28 
29 
32  def set_id_user(self, value):
33  self.id_user = value
34 
35 
38  def get_id_user(self):
39  return self.id_user
40 
41 
43  def set_id_workflow(self, value):
44  self.id_workflow = value
45 
46 
49  def get_id_workflow(self):
50  return self.id_workflow
51 
52 
54  def set_id_analysis(self, value):
55  self.id_analysis = value
56 
57 
60  def get_id_analysis(self):
61  return self.id_analysis
def set_id_workflow(self, value)
Method used to set global variable id_workflow used to propagate workflow_id to all modules...
Class Getting the config file place on default location and load all parameters on an internal variab...
Definition: loadconfig.py:22
def set_id_analysis(self, value)
Method used to set global variable id_workflow used to propagate workflow_id to all modules...
Class Getting the config file place on default location and load all labels named self...
Definition: loadconfig.py:68
def get_id_analysis(self)
Method used to get global variable id_workflow used to recover workflow_id in all modules...
def set_id_user(self, value)
Method used to set global variable id_user used to propagate user_id to all modules.
def get_id_workflow(self)
Method used to get global variable id_workflow used to recover workflow_id in all modules...
def get_id_user(self)
Method used to get global variable id_user used to recover user_id in all modules.
Define all objects, functions and structs related to load on system all configuration parameter from ...
Definition: loadconfig.py:1