View source: R/main_functions.R
This function helps to automate a series of experiments with predetermined parameters sets with the help of an xlsx file. An example file is given with the package on the GitHub page. Experiment results can be exported to RData and xlsx files with convenient file names.
1 2 3 4 5 | run_full_experiment(data_set = "learnfin_ds_1", error_type = "ARPE",
method = "kmeans", path_name = getwd(),
file_name = "input_parameters.xlsx", randseed = 0,
verbal_feedback = TRUE, export_raw_results = FALSE,
export_folder = "results", summary_to_excel = FALSE)
|
data_set |
Name of the data frame to be used in quotes (not as an object). |
error_type |
Pricing error type. It can be ARPE, RPE, SE or APE. |
method |
Data mining method. It can be svm, cit, dt, kmeans or manual. |
path_name |
Path of the input parameter excel file. (Default: working directory |
file_name |
Name of the input parameter excel file. |
randseed |
Randomness seed for reproducibility. |
verbal_feedback |
Do you want to be informed during the progress? (Useful for long runs.) |
export_raw_results |
Should resulting data frames be exported as RData files? |
export_folder |
Result raw file export folder. |
summary_to_excel |
Should prediction error summaries automatically be exported to excel files? |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.