Description Usage Arguments Details Value
Read and process seed sample (with optional complementary waste sample)
1 2 3 4 5 6 7 8 9 10 | getTrainingData(
main_file,
profile_file,
datadir = "",
main_waste_file = NULL,
profile_waste_file = NULL,
calibration = c(38.325, 0.185),
clean = FALSE,
cleanguess = 200
)
|
main_file |
Name of the file with measurements of extinction and time of flight. |
profile_file |
Name of the file with features extracted from particle profiles, as generated by function |
datadir |
Directory where the files are located (by default, the current working directory). |
main_waste_file |
(Optional) Name of the file with measurements of extinction and time of flight for non-seed particles. |
profile_waste_file |
(Optional) Name of the file with profile features for non-seed particles. |
calibration |
A vector with intercept and slope of the linear calibration between time of flight and particle size. |
clean |
(Optional) Whether to use clustering to remove dust particles from the dataset (default: |
cleanguess |
(Optional) Initial guess for value for |
The column Class
indicates whether the particle is a seed (S
) or a non-seed/waste material (W
).
A tibble with all the features that can be used for training or testing classification algorithms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.