ifcb_summarize_class_counts.RdThis function summarizes class results for a series of classifier output files and returns a summary data list.
ifcb_summarize_class_counts(classpath_generic, hdr_folder, year_range)Character string specifying the location of the classifier output files. The path should include 'xxxx' in place of the 4-digit year (e.g., 'classxxxx_v1/').
Character string specifying the directory where the data (hdr files) are located. This can be a URL for web services or a full path for local files.
Numeric vector specifying the range of years (e.g., 2013:2014) to process.
A list containing the following elements:
Classes used in the TreeBagger classifier.
Counts of each class considering each target placed in the winning class.
Counts of each class considering only classifications above the optimal threshold for maximum accuracy.
Volume analyzed for each file.
Dates associated with each file.
List of files processed.
The generic classpath provided as input.
Counts of each class considering only classifications above the adhoc threshold.
The adhoc threshold used for classification.
if (FALSE) {
ifcb_summarize_class_counts('C:/work/IFCB/user_training_test_data/class/classxxxx_v1/',
'C:/work/IFCB/user_training_test_data/data/', 2014)
}