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
h2oregressionmetricmetadata.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 from gdayf.metrics.regressionmetricmetadata import RegressionMetricMetadata
16 import time
17 from numpy import isnan
18 
19 
20 
24 
25 
27  def __init__(self):
28  RegressionMetricMetadata.__init__(self)
29 
30 
33  def set_metrics(self, perf_metrics):
34  if perf_metrics is not None:
35  for parameter, _ in self.items():
36  try:
37  self[parameter] = perf_metrics._metric_json[parameter]
38  except KeyError as kexecution_error:
39  #print('Trace: ' + repr(kexecution_error))
40  pass
41  except AttributeError as aexecution_error:
42  #print('Trace: ' + repr(aexecution_error))
43  pass
44 
45 
Class Base for Regression metricts as OrderedDict Base Metrics for Regression [No expanded metrics]...
Class Base for Regression metricts as OrderedDict Base Metrics for Regression [No expanded metrics]...
Define Regression Metric object as OrderedDict() of common measures for all frameworks on an unified ...
def set_metrics(self, perf_metrics)
Method to load Regression metrics from H2ORegressionModelMetrics class.