View source: R/get_validation_classes.R
get_validation_classes | R Documentation |
This function return the post-hurricane individual tree-level damage classes based on file names in a given directory.
get_validation_classes(file_path)
file_path |
A character string indicating the path to the validation folders, one for each class. This folder must have sub folders with samples for each class. |
Returns the classes based on file names in a given folder.
# Image and model properties
val_image_files_path = system.file('extdata', 'validation', package='rTLsDeep')
# Get damage classes for validation datasets
classes = get_validation_classes(file_path=val_image_files_path)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.