Provided by: mlpack-bin_2.2.5-1build1_amd64
NAME
mlpack_decision_tree - decision tree
SYNOPSIS
mlpack_decision_tree [-h] [-v]
DESCRIPTION
Train and evaluate using a decision tree. Given a dataset containing numeric features and associated labels for each point in the dataset, this program can train a decision tree on that data. The training file and associated labels are specified with the --training_file and --labels_file options, respectively. The labels should be in the range [0, num_classes - 1]. When a model is trained, it may be saved to file with the --output_model_file (-M) option. A model may be loaded from file for predictions with the --input_model_file (-m) option. The --input_model_file option may not be specified when the --training_file option is specified. The --minimum_leaf_size (-n) parameter specifies the minimum number of training points that must fall into each leaf for it to be split. If --print_training_error (-e) is specified, the training error will be printed. A file containing test data may be specified with the --test_file (-T) option, and if performance numbers are desired for that test set, labels may be specified with the --test_labels_file (-L) option. Predictions ffor each test point may be stored into the file specified by the --predictions_file (-p) option. Class probabilities for each prediction will be stored in the file specified by the --probabilities_file (-P) option.
OPTIONAL INPUT OPTIONS
--help (-h) Default help info. --info [string] Get help on a specific module or option. Default value ''. --input_model_file (-m) [string] File to load pre-trained decision tree from, to be used with test points. Default value ''. --labels_file (-l) [string] File containing training labels. Default value ’'. --minimum_leaf_size (-n) [int] Minimum number of points in a leaf. Default value 20. --output_model_file (-M) [string] File to save trained decision tree to. Default value ''. --predictions_file (-p) [string] File to save class predictions to for each test point. Default value ''. --print_training_error (-e) Print the training error. --probabilities_file (-P) [string] File to save class probabilities to for each test point. Default value ''. --test_file (-T) [string] File containing test points. Default value ''. --test_labels_file (-L) [string] File containing test labels, if accuracy calculation is desired. Default value ''. --training_file (-t) [string] File containing training points. Default value ’'. --verbose (-v) Display informational messages and the full list of parameters and timers at the end of execution. --version (-V) Display the version of mlpack.
ADDITIONAL INFORMATION
ADDITIONAL INFORMATION
For further information, including relevant papers, citations, and theory, For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your consult the documentation found at http://www.mlpack.org or included with your DISTRIBUTION OF MLPACK. DISTRIBUTION OF MLPACK. mlpack_decision_tree(16 November 2017)