aboutsummaryrefslogtreecommitdiff
path: root/supervised/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'supervised/utils.py')
-rw-r--r--supervised/utils.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/supervised/utils.py b/supervised/utils.py
new file mode 100644
index 0000000..c477544
--- /dev/null
+++ b/supervised/utils.py
@@ -0,0 +1,7 @@
+def training_log(func):
+ def wrapper(*args, **kwargs):
+ result = func(*args, **kwargs)
+ print(result)
+ return result
+
+ return wrapper