-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #242 from LSmyrnaios/master
Update documentation.
- Loading branch information
Showing
3 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
In that folder you will find sub-folders for *each pathology* containing data (CSVs) for running the Experiments. In each pathology folder you will also find a .json file called | ||
In this folder you will find sub-folders for *each pathology* containing data (CSVs) for running the Experiments.<br/> | ||
In each pathology folder you will also find a .json file called | ||
```CDEsMetadata.json``` containing all the metadata of the data, important -among others- for the pre-execution of the Experiments. | ||
|
||
In order for you to add a dataset in the whole process, you need to add it inside the *pathology folder* and add its metadata in the corresponding CDEsMetadata.json. | ||
In order for you to add a dataset in the whole process, you need to add it inside the *pathology folder* and add its metadata in the corresponding ```CDEsMetadata.json```. | ||
|
||
The python script called ```splitCSVFiles.py``` will split the datasets in N datasets one for each node you have. Run: | ||
```python3 ./splitCSVFiles.py -p *N* -fp *pathology*/ -mp *pathology*/CDEsMetadata.json``` for splitting the datasets existing in each pathology, where *N* the number of splits and *pathology* the pathology folder, in that case *dementia*,*tbi*. | ||
Then, you have to split the datasets of a *pathology* in *N* datasets, one for each node you have in your cluster.<br/> | ||
To achieve this, you can run:<br/> | ||
```python3 ./splitCSVFiles.py -p *N* -fp *pathology*/ -mp *pathology*/CDEsMetadata.json```<br/> | ||
In the above command, *N* is the number of splits and *pathology* is the *pathology folder*, for example: *dementia*, *tbi*.<br/> | ||
The output is a folder named ```output```, which contains the created datasets.<br/> | ||
|
||
The ```pathologies.json``` is used from the front end and it is created from the pathologies, their metadata and the datasets available. | ||
The ```pathologies.json``` is used from the front-end and it is created from the pathologies, their metadata and the datasets available. | ||
The creation of it could be automated in the future. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters