Description Usage Arguments Value Examples
This function creates a linear regression report as a HTML file. Cross-validation is mandatory. Add quiet = TRUE to the list of arguments to make the function "shut up" the massive verbose text.
1 2 3 4 |
data |
Type: data.table. The data to fit a linear regression model on. |
label |
Type: vector. The label the data must fit to. |
folds |
Type: list of numeric vectors. The folds used. |
normalize |
Type: boolean. Whether features should be normalized before being fed to the linear model. Defaults to |
cleaning |
Type: boolean. Whether NAs are set to 0 (if there are any). Defaults to |
deficiency |
Type: boolean. Whether rank deficiency computation is done (kappa). Defaults to |
stats |
Type: boolean. Whether machine learning statistics should be output for model performance diagnosis. When |
coefficients |
Type: boolean. Whether feature coefficients should be output. Defaults to |
adv_stats |
Type: boolean. Whether advanced statistics should be done to analyze in depth the data. Defaults to |
plots |
Type: boolean. Whether plotting of fitted values vs predicted values should be done. Defaults to |
output_file |
Type: character. The output report file name. Defaults to |
output_dir |
Type: character. The output report directory name. Defaults to |
open_file |
Type: boolean. Whether to open the output report once it has finished computing. Defaults to |
quiet |
Type: boolean. Whether to "shut up" while rendering the HTML file or not. Defaults to |
... |
Other arguments to pass to |
Returns a list with the machine learning models (Models), the machine learning metrics ("Metrics"), the folds "Folds", the fitted values per fold ("Fitted"), the predicted values per fold ("Predicted") if they were computed. Otherwise, returns TRUE.
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.