Ps: log(Method_1 / Method_2) вернет Inf, если Method_2 имеет нулевое значение, вернет -Inf, если Method_1 равно нулю, и вернет NaN, если оба значения равны нулю.
Оценки представлены в виде 2 R-фреймов данных в качестве заданных шаблонов. ниже:
Оценки API
Код: Выделить всё
dput(Method_1)
#> A_Process B_Process C_Process D_Process E_Process F_Process G_Process
#> Feature_1 9 5 0 5 7 0 3
#> Feature_2 2 6 2 4 7 7 4
#> Feature_3 0 0 0 0 0 0 2
#> Feature_4 2 4 1 1 7 0 2
#> Feature_5 0 6 0 0 6 7 2
#> H_Process I_Process J_Process
#> Feature_1 4 6 2
#> Feature_2 0 0 0
#> Feature_3 5 7 7
#> Feature_4 3 5 6
#> Feature_5 3 5 6
Код: Выделить всё
dput(Method_2)
#> A_Process B_Process C_Process D_Process E_Process F_Process G_Process
#> Feature_1 1 5 2 3 7 2 1
#> Feature_2 9 6 1 3 6 7 0
#> Feature_3 9 7 2 6 6 2 3
#> Feature_4 0 8 6 6 8 7 4
#> Feature_5 8 5 2 2 6 6 3
#> H_Process I_Process J_Process
#> Feature_1 1 3 8
#> Feature_2 0 5 5
#> Feature_3 4 4 7
#> Feature_4 4 4 7
#> Feature_5 5 4 6
Код: Выделить всё
log_ratios
Подробнее здесь: [url]https://stackoverflow.com/questions/77829385/how-to-visualize-and-correlate-scores-obtained-from-gpt4-api-and-chatgpt[/url]
Мобильная версия