Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,12 @@ license: cc-by-4.0
|
|
| 6 |
- [Petr PHILONENKO](https://orcid.org/0000-0002-6295-4470), Ph.D. in Computer Science;
|
| 7 |
- [Sergey POSTOVALOV](https://orcid.org/0000-0003-3718-1936), D.Sc. in Computer Science.
|
| 8 |
|
|
|
|
| 9 |
[About](#about)
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# About
|
| 12 |
This dataset is a supplement to the [github repositiry](https://github.com/pfilonenko/ML_for_TwoSampleTesting) and paper addressed to solve the two-sample problem under right-censored observations using Machine Learning.
|
|
@@ -44,7 +49,7 @@ data
|
|
| 44 |
- **sample_train.tsv.gz** and **sample_simulation.tsv.gz** are train and test samples splited from the **two_sample_problem_dataset.tsv.gz**. In the [github repositiry](https://github.com/pfilonenko/ML_for_TwoSampleTesting), these files must be located in the _ML_for_TwoSampleTesting/proposed_ml_for_two_sample_testing/data/2_samples/_
|
| 45 |
- **dataset_with_ML_pred.tsv.gz** is the test sample supplemented by the predictions of the proposed ML-methods. In the [github repositiry](https://github.com/pfilonenko/ML_for_TwoSampleTesting), this file must be located in the _ML_for_TwoSampleTesting/proposed_ml_for_two_sample_testing/data/3_dataset_with_ML_pred/_
|
| 46 |
|
| 47 |
-
#
|
| 48 |
In these files, there are following fields:
|
| 49 |
|
| 50 |
1) PARAMETERS OF SAMPLE SIMULATION
|
|
@@ -84,11 +89,11 @@ In these files, there are following fields:
|
|
| 84 |
- **SKLEARN_LogReg_test** is a statistic of the proposed ML-method based on Logistic Regression (implemented in sklearn);
|
| 85 |
- **SKLEARN_GB_test** is a statistic of the proposed ML-method based on Gradient Boosting Machine (implemented in sklearn).
|
| 86 |
|
| 87 |
-
#
|
| 88 |
|
| 89 |
For this dataset, the full source code (C++) is available [here](https://github.com/pfilonenko/ML_for_TwoSampleTesting/tree/main/dataset/simulation).
|
| 90 |
It makes possible to reproduce and extend the simulation by the Monte Carlo method. Here, we present two fragments of the source code (**main.cpp** and **simulation_for_machine_learning.h**) which can help to understand the main steps of the simulation process.
|
| 91 |
-
|
| 92 |
```C++
|
| 93 |
#include"simulation_for_machine_learning.h"
|
| 94 |
|
|
@@ -180,7 +185,7 @@ int main()
|
|
| 180 |
return 0;
|
| 181 |
}
|
| 182 |
```
|
| 183 |
-
|
| 184 |
```C++
|
| 185 |
#ifndef simulation_for_machine_learning_H
|
| 186 |
#define simulation_for_machine_learning_H
|
|
|
|
| 6 |
- [Petr PHILONENKO](https://orcid.org/0000-0002-6295-4470), Ph.D. in Computer Science;
|
| 7 |
- [Sergey POSTOVALOV](https://orcid.org/0000-0003-3718-1936), D.Sc. in Computer Science.
|
| 8 |
|
| 9 |
+
# Table of Contents
|
| 10 |
[About](#about)
|
| 11 |
+
[Citing](#citing)
|
| 12 |
+
[Repository](#repository)
|
| 13 |
+
[Fields](#fields)
|
| 14 |
+
[Simulation](#simulation)
|
| 15 |
|
| 16 |
# About
|
| 17 |
This dataset is a supplement to the [github repositiry](https://github.com/pfilonenko/ML_for_TwoSampleTesting) and paper addressed to solve the two-sample problem under right-censored observations using Machine Learning.
|
|
|
|
| 49 |
- **sample_train.tsv.gz** and **sample_simulation.tsv.gz** are train and test samples splited from the **two_sample_problem_dataset.tsv.gz**. In the [github repositiry](https://github.com/pfilonenko/ML_for_TwoSampleTesting), these files must be located in the _ML_for_TwoSampleTesting/proposed_ml_for_two_sample_testing/data/2_samples/_
|
| 50 |
- **dataset_with_ML_pred.tsv.gz** is the test sample supplemented by the predictions of the proposed ML-methods. In the [github repositiry](https://github.com/pfilonenko/ML_for_TwoSampleTesting), this file must be located in the _ML_for_TwoSampleTesting/proposed_ml_for_two_sample_testing/data/3_dataset_with_ML_pred/_
|
| 51 |
|
| 52 |
+
# Fields
|
| 53 |
In these files, there are following fields:
|
| 54 |
|
| 55 |
1) PARAMETERS OF SAMPLE SIMULATION
|
|
|
|
| 89 |
- **SKLEARN_LogReg_test** is a statistic of the proposed ML-method based on Logistic Regression (implemented in sklearn);
|
| 90 |
- **SKLEARN_GB_test** is a statistic of the proposed ML-method based on Gradient Boosting Machine (implemented in sklearn).
|
| 91 |
|
| 92 |
+
# Simulation
|
| 93 |
|
| 94 |
For this dataset, the full source code (C++) is available [here](https://github.com/pfilonenko/ML_for_TwoSampleTesting/tree/main/dataset/simulation).
|
| 95 |
It makes possible to reproduce and extend the simulation by the Monte Carlo method. Here, we present two fragments of the source code (**main.cpp** and **simulation_for_machine_learning.h**) which can help to understand the main steps of the simulation process.
|
| 96 |
+
### main.cpp
|
| 97 |
```C++
|
| 98 |
#include"simulation_for_machine_learning.h"
|
| 99 |
|
|
|
|
| 185 |
return 0;
|
| 186 |
}
|
| 187 |
```
|
| 188 |
+
### simulation_for_machine_learning.h
|
| 189 |
```C++
|
| 190 |
#ifndef simulation_for_machine_learning_H
|
| 191 |
#define simulation_for_machine_learning_H
|