From 4aceb9e06d29ed78afd8f5c7674865e584d160da Mon Sep 17 00:00:00 2001 From: Vicente Reyes-Puerta Date: Tue, 21 Jun 2022 15:34:25 +0200 Subject: [PATCH] Fix random_state parameter definition in docstring --- sklearn/utils/_param_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn/utils/_param_validation.py b/sklearn/utils/_param_validation.py index 3a76301346f67..3832f6cbc4d20 100644 --- a/sklearn/utils/_param_validation.py +++ b/sklearn/utils/_param_validation.py @@ -25,7 +25,7 @@ def validate_parameter_constraints(parameter_constraints, params, caller_name): - an Interval object, representing a continuous or discrete range of numbers - the string "array-like" - the string "sparse matrix" - - the string "random state" + - the string "random_state" - callable - None, meaning that None is a valid value for the parameter - any type, meaning that any instance of this type is valid