MCPcopy Create free account
hub / github.com/rushter/MLAlgorithms / validate_input

Function validate_input

mla/metrics/base.py:20–25  ·  view source on GitHub ↗
(function)

Source from the content-addressed store, hash-verified

18
19
20def validate_input(function):
21 def wrapper(a, b):
22 a, b = check_data(a, b)
23 return function(a, b)
24
25 return wrapper

Callers 1

metricFunction · 0.90

Calls

no outgoing calls

Tested by 1

metricFunction · 0.72