capability__random_state#

capability__random_state()[source]#

Capability: the estimator can be derandomized using a random_state.

  • String name: "capability:random_state"

  • Public capability tag

  • Values: bool, True / False

  • Example: True

  • Default: False

If the tag is True, the estimator can be derandomized using a random_state parameter. If the random_state parameter is set, then the estimator will produce the same results on every run, up to minimal numerical precision discrepancies (1e-5 relative error). If the tag is False, the estimator does not have a random_state parameter and cannot be derandomized.

The tag may be inspected by the user to find estimators that can be derandomized.

The tag is also used internally in tests of sktime to verify the behaviour of estimators.