View source: R/read_ml_models.R
read_ml_models | R Documentation |
Information about datasets that can be used in the predictive models are stored in Debian Control Files (dcf). This is the similar to the format used in RMarkdown YAML (i.e. metadata).
read_ml_models( dir = paste0(find.package("mldash"), "/models"), pattern = "*.dcf", check_for_missing_packages = interactive() )
dir |
directory containing the dcf files for the datasets. |
pattern |
optional regular expression that is used when finding files
to read in. It defaults to all dcf files in the |
check_for_missing_packages |
if TRUE you will be prompted to install missing packages. |
name*The name of the dataset.
type*Whether this is for a regression or classification model.
descriptionDescription of the dataset.
train*The model formula used for the predictive model.
predict*Any additional information.
denotes required fields.
a data frame with the following fields:
nameThe name of the dataset.
typeWhether this is for a regression or classification model.
descriptionDescription of the dataset.
notesAny additional information.
denotes required fields.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.