Exemplo n.º 1
0
def parse_cmdargs():
    # pylint: disable=missing-function-docstring
    parser = argparse.ArgumentParser("Make error matrix plots")
    add_basic_eval_args(parser)
    add_concurrency_parser(parser)

    return parser.parse_args()
Exemplo n.º 2
0
def parse_cmdargs():
    # pylint: disable=missing-function-docstring
    parser = argparse.ArgumentParser("Make plots of various Figures Of Merits")

    parser.add_argument(
        '-b', '--bins',
        dest    = 'bins',
        default = 50,
        help    = 'Number of bins in distribution plots',
        type    = int,
    )
    add_basic_eval_args(parser)
    add_concurrency_parser(parser)

    return parser.parse_args()
Exemplo n.º 3
0
def parse_cmdargs():
    # pylint: disable=missing-function-docstring
    parser = argparse.ArgumentParser("Make t-SNE embedding plots")

    parser.add_argument(
        '-b',
        '--bins',
        dest='bins',
        default=100,
        help='Number of bins for the t-SNE density plot',
        type=int,
    )

    parser.add_argument(
        '-n',
        '--number',
        dest='limit',
        default=2000,
        help='Number of points for the t-SNE embedding',
        type=int,
    )

    parser.add_argument(
        '--dimensions',
        dest='dims',
        default=2,
        choices=[2, 3],
        help='Number of dimensions of embedding manifold',
        type=int,
    )

    parser.add_argument(
        '--perplexity',
        dest='perplexity',
        default=30,
        help='Perplexity value for the t-SNE embedding',
        type=float,
    )

    add_basic_eval_args(parser)
    add_concurrency_parser(parser)

    return parser.parse_args()
Exemplo n.º 4
0
def parse_cmdargs():
    # pylint: disable=missing-function-docstring
    parser = argparse.ArgumentParser("Plot sample targets distribution")
    add_basic_eval_args(parser)
    return parser.parse_args()