Learn R Programming

animl (version 1.1.0)

applyPredictions: Apply Classifier Predictions and Merge DataFrames

Description

Apply Classifier Predictions and Merge DataFrames

Usage

applyPredictions(animals, pred, classfile, outfile = NULL, counts = FALSE)

Value

fully merged dataframe with Species predictions and confidence weighted by MD conf

Arguments

animals

Set of animal crops/images

pred

Classifier predictions for animal crops/images

classfile

.txt file containing common names for species classes

outfile

File to which results are saved

counts

Returns a table of all predictions, defaults to FALSE

Examples

Run this code
if (FALSE) {
alldata <- applyPredictions(animals,empty,classfile,pred,counts = FALSE)
}

Run the code above in your browser using DataLab