parsnip.build_default_argparse

parsnip.build_default_argparse(description)

Build an argparse object that can handle all of the ParSNIP model settings.

The resulting parsed namespace can be passed to parse_settings to get a ParSNIP settings object.

Parameters:

description (str) – Description for the argument parser

Returns:

Argument parser with the ParSNIP model settings added as arguments

Return type:

ArgumentParser