beelzeebuub commited on
Commit
cb03a30
·
1 Parent(s): 29136f2

remove ordinalregressionmetric

Browse files
Files changed (1) hide show
  1. pipeline.py +2 -0
pipeline.py CHANGED
@@ -6,6 +6,7 @@ import json
6
  import numpy as np
7
  from fastai.learner import load_learner
8
 
 
9
  class OrdinalRegressionMetric(Metric):
10
  def __init__(self):
11
  super().__init__()
@@ -45,6 +46,7 @@ class OrdinalRegressionMetric(Metric):
45
  # Calculate the normalized metric value
46
  metric_value = 1/(self.total / self.count)
47
  return metric_value
 
48
 
49
  class PreTrainedPipeline():
50
  def __init__(self, path=""):
 
6
  import numpy as np
7
  from fastai.learner import load_learner
8
 
9
+ """
10
  class OrdinalRegressionMetric(Metric):
11
  def __init__(self):
12
  super().__init__()
 
46
  # Calculate the normalized metric value
47
  metric_value = 1/(self.total / self.count)
48
  return metric_value
49
+ """
50
 
51
  class PreTrainedPipeline():
52
  def __init__(self, path=""):