mlpack_det(26 December 2016) | mlpack_det(26 December 2016) |
NAME¶
mlpack_det - density estimation with density estimation treesSYNOPSIS¶
mlpack_det [-h] [-v]
DESCRIPTION¶
This program performs a number of functions related to Density Estimation Trees. The optimal Density Estimation Tree (DET) can be trained on a set of data (specified by --training_file or -t) using cross-validation (with number of folds specified by --folds). This trained density estimation tree may then be saved to a model file with the --output_model_file (-M) option.The variable importances of each dimension may be saved with the --vi_file (-i) option, and the density estimates on each training point may be saved to the file specified with the --training_set_estimates_file (-e) option.
This program also can provide density estimates for a set of test points, specified in the --test_file (-T) file. The density estimation tree used for this task will be the tree that was trained on the given training points, or a tree stored in the file given with the --input_model_file (-m) parameter. The density estimates for the test points may be saved into the file specified with the --test_set_estimates_file (-E) option.
OPTIONAL INPUT OPTIONS¶
- --folds (-f) [int]
- The number of folds of cross-validation to perform for the estimation (0 is LOOCV) Default value 10.
- --help (-h)
- Default help info.
- --info [string]
- Get help on a specific module or option. Default value ''. --input_model_file (-m) [string] File containing already trained density estimation tree. Default value ''.
- --max_leaf_size (-L) [int]
- The maximum size of a leaf in the unpruned, fully grown DET. Default value 10.
- --min_leaf_size (-l) [int]
- The minimum size of a leaf in the unpruned, fully grown DET. Default value 5.
- --test_file (-T) [string]
- A set of test points to estimate the density of. Default value ''. --training_file (-t) [string] The data set on which to build a density estimation tree. 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.
OPTIONAL OUTPUT OPTIONS¶
--output_model_file (-M) [string] File to save trained density estimation tree to. Default value ''. --test_set_estimates_file (-E) [string] The file in which to output the estimates on the test set from the final optimally pruned tree. Default value ''. --training_set_estimates_file (-e) [string] The file in which to output the density estimates on the training set from the final optimally pruned tree. Default value ''.- --vi_file (-i) [string]
- The file to output the variable importance values for each feature. Default value ''.