This function will spawn several python subprocess as workers, in which the R script R/pvalue-evaluation.R is called to actually run those permutation tests.
Error
The pvalue-evaluation.R is designed for LEHD flow, when feeding taxi flow instead, there is the NaN error.
Potential Reason
The normalization encounters divide-by-0 error, due to the sparsity of the taxi flow.
Setting
Run the following code
This function will spawn several python subprocess as workers, in which the R script
R/pvalue-evaluation.R
is called to actually run those permutation tests.Error
The
pvalue-evaluation.R
is designed for LEHD flow, when feeding taxi flow instead, there is the NaN error.Potential Reason
The normalization encounters divide-by-0 error, due to the sparsity of the taxi flow.