dump_policy#
- scikitplot.feature_selection.dump_policy(policy, path, format=None)[source]#
Write
policytopathatomically, verified by reading it back.- Parameters:
- policyFeaturePolicy
The policy to write.
- pathstr or os.PathLike
Target file.
- formatstr or None, default=None
Explicit format, else derived from the suffix.
- Returns:
- pathlib.Path
The written path.
- Parameters:
policy (FeaturePolicy)
path (Any)
format (str | None)
- Return type: