get_validation_classes {rTLsDeep} | R Documentation |
Tree-level damage classes for validation datasets
Description
This function return the post-hurricane individual tree-level damage classes based on file names in a given directory.
Usage
get_validation_classes(file_path)
Arguments
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. |
Value
Returns the classes based on file names in a given folder.
Examples
# 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)
[Package rTLsDeep version 0.0.5 Index]