From af2565bd4032470c3da6155c34855ef496e0f202 Mon Sep 17 00:00:00 2001 From: Xuefeng Luo Date: Sun, 20 Jun 2021 15:10:46 +0200 Subject: [PATCH] update docs for write comprehension eval --- docs/src/man/output.md | 3 +++ src/output.jl | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/src/man/output.md b/docs/src/man/output.md index 90b9184d..ffc7b7bc 100644 --- a/docs/src/man/output.md +++ b/docs/src/man/output.md @@ -7,12 +7,15 @@ CurrentModule = JudiLing ```@docs write2csv write2df + write_comprehension_eval write2csv(res, data, cue_obj_train, cue_obj_val, filename) write2csv(gpi::Vector{Gold_Path_Info_Struct}, filename) write2csv(ts::Threshold_Stat_Struct, filename) write2df(res, data, cue_obj_train, cue_obj_val) write2df(gpi::Vector{Gold_Path_Info_Struct}) write2df(ts::Threshold_Stat_Struct) + write_comprehension_eval(SChat, SC, data, target_col, filename) + write_comprehension_eval(SChat, SC, SC_rest, data, data_rest, target_col, filename) save_L_matrix(L, filename) load_L_matrix(filename) save_S_matrix(S, filename, data, target_col) diff --git a/src/output.jl b/src/output.jl index cf1d5cc9..0be2d8d6 100644 --- a/src/output.jl +++ b/src/output.jl @@ -533,7 +533,7 @@ function load_S_matrix(filename; header = false, sep = " ") end """ - write_comprehension_eval(SChat, SC, data, filename) + write_comprehension_eval(SChat, SC, data, target_col, filename) Write comprehension evaluation into a CSV file, include target and predicted ids and indentifiers and their correlations. @@ -599,7 +599,7 @@ function write_comprehension_eval( end """ - write_comprehension_eval(SChat, SC, data, filename) + write_comprehension_eval(SChat, SC, SC_rest, data, data_rest, target_col, filename) Write comprehension evaluation into a CSV file for both training and validation datasets, include target and predicted ids and indentifiers and their