wilcoxon_RMSE: Wilcoxon test for RMSE

Description Usage Arguments Value Examples

Description

Compute Wilcoxon between RMSE distances to find significant differences between mesh processing techniques

Usage

1
wilcoxon_RMSE(RMSE_matrix)

Arguments

RMSE_matrix

a matrix Nx3 which is the output of

Value

A vector of two p-values. The first value is the p-value resulting from wilcoxon between first column of the RMSE matrix and second column of the RMSE matrix. The second one is the p-value resulting from wilcoxon between first column of the RMSE matrix and second column of the RMSE matrix

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
path_somas_algorithm<- "./test/final_result"
path_somas_experts<- system.file("test/pre_repaired",package="SomaMS")
experts_paths<-list.dirs(path_somas_experts,recursive=F)
pre_repaired_RMSE<-RMSE_mesh_distance(path_somas_algorithm, experts_paths[1], experts_paths[2], TRUE)

#RMSE between the somas of the algorithm and the somas of the experts after repairing the experts' somas
path_somas_algorithm<- "./test/final_result"
path_somas_experts<- system.file("test/post_repaired",package="SomaMS")
experts_paths<-list.dirs(path_somas_experts,recursive=F)
post_repaired_RMSE<-RMSE_mesh_distance(path_somas_algorithm, experts_paths[1], experts_paths[2], TRUE)

pvalue_before_repairing <- wilcoxon_RMSE(pre_repaired_RMSE)
print(paste0("p-value between algorithm and first expert: ", pvalue_before_repairing[1]))
print(paste0("p-value between algorithm and second expert: ", pvalue_before_repairing[2]))

pvalue_after_repairing <- wilcoxon_RMSE(post_repaired_RMSE)
print(paste0("p-value between algorithm and first expert: ", pvalue_after_repairing[1]))
print(paste0("p-value between algorithm and second expert: ", pvalue_after_repairing[2]))

ComputationalIntelligenceGroup/3DSomaMS documentation built on May 6, 2019, 12:49 p.m.