The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

analogize - classify data with AM from the command line

VERSION

version 3.09

SYNOPSIS

analogize --format <format> [--exemplars <file>] [--test <file>] [--project <dir>] [--print <info1,info2...>] [--help]

DESCRIPTION

Classify data with analogical modeling from the command line. Required arguments are format and either exemplars or project. You can use old AM::Parallel projects (a directory containing data and test files) or specify individual data and test files. By default, only the accuracy of the predicted outcomes is printed. More detail may be printed using the print option.

OPTIONS

format

specify either commas or nocommas format for exemplar and test data files (= should be used for "null" variables).

exemplars, data or train

path to the file containing the examplar/training data

project

path to AM::Parallel project (ignores 'outcome' file)

test

path to the file containing the test data. If none is specified, performs leave-one-out classification with the exemplar set

print

comma-separated list of reports to print. Available options are: config_info, statistical_summary, analogical_set_summary, gang_summary, and gang_detailed. See documentation in Algorithm::AM::Result for details (gang_detailed is gang_summary with list printing on).

include_given

Allow a test item to be included in the data set during classification. If false (default), test items will be removed from the dataset during classification.

include_nulls

Treat null variables in a test item as regular variables. If false (default), these variables will be excluded and not considered during classification.

linear

Calculate scores using occurrences (linearly) instead of using pointers (quadratically).

help or ?

print help message

AUTHOR

Theron Sanford <shixilun@yahoo.com>, Nathan Glenn <garfieldnate@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Royal Skousen.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.