You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created some metrics that evaluate ML-Models in this format:
class Metric:
def init(self, ...., curve=False):
...
self.curve = curve
def update(self, outputs, labels):
self.list1.extend()
self.list2.extend()
def compute(self):
....... # some computations
# Plot the curve if enabled
if self.curve:
self.plot_curve(.....)
return result
def plot_curve(self, .....):
........
# Show the plot
plt.show()
But i have difficulties implementing it in the CL model. Can please someone help me with this? Should I change the format?
This discussion was converted from issue #1585 on January 29, 2024 07:39.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I created some metrics that evaluate ML-Models in this format:
class Metric:
def init(self, ...., curve=False):
...
self.curve = curve
But i have difficulties implementing it in the CL model. Can please someone help me with this? Should I change the format?
Beta Was this translation helpful? Give feedback.
All reactions