Datasets:

Modalities:
Tabular
Text
Formats:
csv
ArXiv:
DOI:
Libraries:
Datasets
pandas
License:
pfilonenko commited on
Commit
b2a24a4
·
verified ·
1 Parent(s): 999c517

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -126,7 +126,7 @@ void EXAMPLE_1(vector<HomogeneityTest*> &D)
126
 
127
 
128
  double Sn = D[j]->CalculateStatistic(T1, T2);
129
- double pvalue = D[j]->p_value(T1, T2, 1000);
130
 
131
  printf("%s\n", &test_name);
132
  printf("\t Sn: %lf\n", Sn);
@@ -147,7 +147,6 @@ int main()
147
  {
148
  // Set the number of threads
149
  int k = omp_get_max_threads() - 1;
150
- //int k = 1;
151
  omp_set_num_threads( k );
152
 
153
  // Select two-sample tests
 
126
 
127
 
128
  double Sn = D[j]->CalculateStatistic(T1, T2);
129
+ double pvalue = D[j]->p_value(T1, T2, 27000); // 27k in accodring to the Kolmogorov's theorem => simulation error MAX||G(S|H0)-Gn(S|H0)|| <= 0.01
130
 
131
  printf("%s\n", &test_name);
132
  printf("\t Sn: %lf\n", Sn);
 
147
  {
148
  // Set the number of threads
149
  int k = omp_get_max_threads() - 1;
 
150
  omp_set_num_threads( k );
151
 
152
  // Select two-sample tests