Learn R Programming

searchAnalyzeR (version 0.1.0)

export_validation: Export Validation Results

Description

Export Validation Results

Usage

export_validation(validation_results, file_path, format = "xlsx")

Value

File path of created file

Arguments

validation_results

Results from benchmark validation

file_path

Output file path

format

Export format ("xlsx", "csv", "json")

Examples

Run this code
# Create sample validation results
validation_results <- list(
  precision = 0.8,
  recall = 0.6,
  f1_score = 0.69,
  true_positives = 24,
  false_positives = 6,
  false_negatives = 16
)

# Export validation results (writes to tempdir())
output_file <- export_validation(
  validation_results,
  file.path(tempdir(), "validation.xlsx")
)
print(output_file)

Run the code above in your browser using DataLab