dump_policy#

scikitplot.feature_selection.dump_policy(policy, path, format=None)[source]#

Write policy to path atomically, 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:
Return type:

Any