mlpack_det(1)
β¨ mlpack_det β¨
okay bestie, welcome to mlpack_det π this is the User Commands-flavored page for it, and it's literally all about density estimation with density estimation trees. no cap. it does a lot of stuff related to Density Estimation Trees, and we're gonna go through every single crumb of it together π«Ά
πΈ SYNOPSIS πΈ
mlpack_det [-f int] [-m unknown] [-L int] [-l int] [-p string] [-s bool] [-T unknown] [-t unknown] [-V bool] [-M unknown] [-c string] [-g string] [-E unknown] [-e unknown] [-i unknown] [-h -v]
π DESCRIPTION π
okay so quick recap of the tea: 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 β you pass that in with --training_file (-t) β using cross-validation, and you control how many folds with the --folds (-f) parameter. Once that trained density estimation tree exists, you can save it with the --output_model_file (-M) output parameter. periodt. β¨
The variable importances (aka the feature importance values for each dimension, iykyk) may be saved with the --vi_file (-i) output parameter π and the density estimates for each training point may be saved with the --training_set_estimates_file (-e) output parameter. chef's kiss.
Enabling path printing for each node outputs the path from the root node to a leaf for each entry in the test set, or the training set (if a test set is not provided) π¦. Strings like LRLRLR will be output β and if you're wondering what that even means: it indicates that traversal went to the left child, then the right child, then the left child, and so forth. If lr-id or id-lr are given as the --path_format (-p) parameter, then the ID (tag) of every node along the path will be printed after or before the L or R character indicating the direction of traversal, respectively. cute, right? β¨
This program also can provide density estimates for a set of test points, specified in the --test_file (-T) parameter π. The density estimation tree used for this task will be the tree that was trained on the given training points, or a tree given as the parameter --input_model_file (-m). The density estimates for the test points may be saved using the --test_set_estimates_file (-E) output parameter πΈ.
π OPTIONAL INPUT OPTIONS π
--folds (-f)[int]β the number of folds of cross-validation to perform for the estimation (0is LOOCV). Default value10. lowkey obsessed with LOOCV.--help (-h)[bool]β default help info. the "help me bestie" button fr fr.--info[string]β print help on a specific option. Default value''. π§--input_model_file (-m)[unknown]β trained density estimation tree to load. bring your own tree π--max_leaf_size (-L)[int]β the maximum size of a leaf in the unpruned, fully grown DET. Default value10. π--min_leaf_size (-l)[int]β the minimum size of a leaf in the unpruned, fully grown DET. Default value5. β¨--path_format (-p)[string]β the format of path printing:'lr','id-lr', or'lr-id'. Default value'lr'. π--skip_pruning (-s)[bool]β whether to bypass the pruning process and output the unpruned tree only. no trimming, no regrets π--test_file (-T)[unknown]β a set of test points to estimate the density of.--training_file (-t)[unknown]β the data set on which to build a density estimation tree. the main character's origin story fr π--verbose (-v)[bool]β display informational messages and the full list of parameters and timers at the end of execution. spill everything π--version (-V)[bool]β display the version of mlpack.
π OPTIONAL OUTPUT OPTIONS π
--output_model_file (-M)[unknown]β output to save trained density estimation tree to. π--tag_counters_file (-c)[string]β the file to output the number of points that went to each leaf. Default value''.--tag_file (-g)[string]β the file to output the tags (and possibly paths) for each sample in the test set. Default value''.--test_set_estimates_file (-E)[unknown]β the output estimates on the test set from the final optimally pruned tree. β¨--training_set_estimates_file (-e)[unknown]β the output density estimates on the training set from the final optimally pruned tree. π₯--vi_file (-i)[unknown]β the output variable importance values for each feature. πΈ
π¦ ADDITIONAL INFORMATION π¦
For further information, including relevant papers, citations, and theory, consult the documentation found at http://www.mlpack.org or included with your distribution of mlpack. go read it bestie, it's giving academia π
and that's the whole page, bestie!! no notes, we ate π β¨
okay so this masterpiece is from mlpack-4.8.0, dated 22 June 2026 π mwah, slay, bye π«Άπ
π¦ where this page comes from
- ubuntu stonking: mlpack-bin 4.8.0-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms