| 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

modelmetadata.py
1
4
5 '''
6 Copyright (C) e2its - All Rights Reserved
7 * Unauthorized copying of this file, via any medium is strictly prohibited
8 * Proprietary and confidential
9 *
10 * This file is part of gDayF project.
11 *
12 * Written by Jose L. Sanchez <e2its.es@gmail.com>, 2016-2019
13 '''
14
15 import copy
16 from gdayf.conf.loadconfig import LoadConfig
17 from collections import OrderedDict
18
19
20
21 class ModelMetadata(object):
22
23 def __init__(self, e_c):
24 # @var _config
25 # Load default parameters for Models
26 self._ec = e_c
27 self._config = self._ec.config.get_config()['frameworks']
28 # @var model
29 # Initialized model to None
30 self.model = OrderedDict()
31
32 def get_model(self):
33 return self.model
34
35
36 def get_default(self):
37 return copy.deepcopy(self._config)
38
39
41 def get_copy_model(self):
42 return copy.deepcopy(self.model)
43
44
45
46
47 '''if __name__ == "__main__":
48 m = ModelMetadata()
49 print(m._config['h2o']['models'])'''
50
gdayf.models.modelmetadata.ModelMetadata.get_default
def get_default(self)
Method use to get the config on OrderedDict() format.
Definition: modelmetadata.py:36
gdayf.models.modelmetadata.ModelMetadata.get_copy_model
def get_copy_model(self)
Method use to get a copy of model.
Definition: modelmetadata.py:41
gdayf.models.modelmetadata.ModelMetadata.model
model
Definition: modelmetadata.py:30
gdayf.models.modelmetadata.ModelMetadata._ec
_ec
Definition: modelmetadata.py:26
gdayf.models.modelmetadata.ModelMetadata._config
_config
Definition: modelmetadata.py:27
gdayf.models.modelmetadata.ModelMetadata.get_model
def get_model(self)
Method use to get the model.
Definition: modelmetadata.py:32
gdayf.conf.loadconfig
Define all objects, functions and structs related to load on system all configuration parameter from ...
Definition: loadconfig.py:1
gdayf.models.modelmetadata.ModelMetadata
Generate Model base Class and base members.
Definition: modelmetadata.py:21
gdayf.models.modelmetadata.ModelMetadata.__init__
def __init__(self, e_c)
Constructor.
Definition: modelmetadata.py:23