printClassifier | R Documentation |
This function prints detailed information about a classifier object, including information about the experiment, the learner settings, and the models within the classifier. It provides a structured view of the classifier's parameters and any relevant attributes to facilitate understanding and debugging.
printClassifier(obj, indent = "\t--- ")
obj |
A classifier object, typically returned by a classifier training function. The object should contain details about the experiment, model parameters, and possibly a collection of models. |
indent |
A string for indentation used when printing information. It allows for hierarchical display, making the output easier to read and understand. Default is " — ". |
- If the classifier object contains an experiment attribute, the function prints details of the experiment. - If the classifier has parameters ('params'), it prints the learner type, its parameters, and, if applicable, any models used in the classifier. - If the classifier includes a model collection, details of the models are printed as well.
None. The function prints the information directly to the console.
Edi Prifti (IRD)
## Not run:
# Assuming 'classifier' is a valid classifier object
printClassifier(classifier)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.