printModelCollection | R Documentation |
This function prints detailed information about a collection of models. It allows for summarizing the model collection in either a short or long format, providing insights into the models' sparsity, performance, and other relevant details.
printModelCollection(obj, indent = "\t--- ", method = "long")
obj |
A model collection object containing multiple models. |
indent |
A string for indentation, used to structure the printed output in a hierarchical manner. Default is " — ". |
method |
A string specifying the format for printing. Valid options are "short" and "long". Default is "long". |
- In "short" mode, it prints the names of the models in the collection along with the number of models in each category. - In "long" mode, it prints detailed information about each model, including the k-sparsity and a summary of the models' characteristics. - The "long" mode will call the 'printPopulation' function for each model in the collection to show its details.
None. The function prints the information directly to the console.
Edi Prifti (IRD)
## Not run:
# Assuming 'model_collection' is a valid model collection object
printModelCollection(model_collection, method = "short")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.