Learn R Programming

animl (version 3.2.0)

single_classification: Get Maximum likelihood label for each Detection

Description

Get Maximum likelihood label for each Detection

Usage

single_classification(
  animals,
  empty,
  predictions_raw,
  class_list,
  best = FALSE
)

Value

dataframe with prediction and confidence columns

Arguments

animals

manifest of animal detections

empty

manifest of md human, vehicle and empty images

predictions_raw

softmaxed likelihoods from predict_species

class_list

list of class labels

best

whether to return one prediction per file

Examples

Run this code
if (FALSE) animals <- single_classification(animals, empty, pred_raw, class_list)

Run the code above in your browser using DataLab