MCPcopy Index your code
hub / github.com/scikit-learn/scikit-learn / InvalidParameterError

Class InvalidParameterError

sklearn/utils/_param_validation.py:20–25  ·  view source on GitHub ↗

Custom exception to be raised when the parameter of a class/method/function does not have a valid type or value.

Source from the content-addressed store, hash-verified

18
19
20class InvalidParameterError(ValueError, TypeError):
21 """Custom exception to be raised when the parameter of a class/method/function
22 does not have a valid type or value.
23 """
24
25 # Inherits from ValueError and TypeError to keep backward compatibility.
26
27
28def validate_parameter_constraints(parameter_constraints, params, caller_name):

Callers 2

wrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…