Skip to content

Commit 35253c0

Browse files
committed
Merge branch 'ECML' of https://github.com/CompNet/Pang into ECML
2 parents 58e8d03 + d801a68 commit 35253c0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ This repository is composed of the following elements:
2525
* `PANG.py`: script that implements the Pang method.
2626
* `ProcessingPattern.py`: script that computes the number of occurences and the set of induced patterns.
2727
* `Pattern.sh`: script that computes the patterns of a dataset.
28-
* `CORKcpp.zip`: archive containing the CORK source code (used in `EMCL.py`) cf. Section [Installation](#installation).
28+
* `CORKcpp.zip`: archive containing the CORK source code (used in `EMCL.py`), cf. Section [Installation](#installation).
2929
* `data`: folder containing the input data. Each subfolder corresponds to a distinct dataset, cf. Section [Datasets](#datasets).
3030
* `results`: files produced by the processing.
3131

@@ -47,7 +47,7 @@ Second, one of the dependencies, SPMF, is not a Python package, but rather a Jav
4747

4848
Note that SPMF is available both as a JAR and as source code archive. However, the former does not contain all the features required by Pang, so one should use only the latter.
4949

50-
In order to run the script that reproduces our ECML PKDD experiments, you also need to install CORK. This is done by unzipping the archive `CORKcpp.zip` in the `src` folder. The documentation for installing CORK is available on the Readme file in the `CORKcpp` folder.
50+
In order to run the script that reproduces our ECML PKDD experiments, you also need to install CORK. This is done by unzipping the archive `CORKcpp.zip` in the `src` folder. File `Readme` in this archive contains the instruction for compiling the C++ source code.
5151

5252

5353
## Data
@@ -115,9 +115,9 @@ Once the data are ready, you need to run a script to identify the patterns, and
115115
1. Open the `Python` console.
116116
2. Run the script `Patterns.sh` in order to create the files `XXX_patterns.txt`.
117117
3. Run `ProcessingPattern.py`with the option `-d XXX` in order to create the files `XXX_mono.txt` and `XXX_iso.txt`.
118-
4. Run `PANG.py`. 2 parameters are required:
119-
* `-d XXX` : the name of the dataset
120-
* `-k k` : the number of patterns to consider in the PANG representations. User can provide a single value, or a list of values separated by commas.
118+
4. Run `PANG.py`, specifying both following parameters:
119+
* `-d XXX`: name of the dataset
120+
* `-k k`: number of patterns to consider in the PANG representations. User can provide a single value, or a list of values separated by commas.
121121

122122
For each value of the parameter `k`, Pang will create a file `KResults.txt` containing the results of the classification and a file `KPatterns.txt` containing the patterns.
123123

@@ -142,7 +142,7 @@ For the ECML PKDD assessment, we use the following algorithms for the sake of co
142142
* The `WL` [[S'11](#references)] and `WL_OA` [[K'16](#references)] algorithms are included in the `Grakel` library, documentation available [here](https://ysig.github.io/GraKeL/0.1a8/benchmarks.html)
143143
* `Graph2Vec` [[N'17](#references)] is included in the `karateclub` library, documentation available [here](https://karateclub.readthedocs.io/en/latest/)
144144
* `DGCNN` [[Z'18](#references)] is included in the `stellargraph` library, documentation available [here](https://stellargraph.readthedocs.io/en/stable/).
145-
* We use the implementation of `CORK` [[T'09](#references)] from Marisa Thoma. This implementation is available in the `CORKcpp.zip` archive.
145+
* We use the implementation of `CORK` [[T'09](#references)] by Marisa Thoma, which is available [here](http://www.dbs.ifi.lmu.de/~thoma/pub/sam2010/sam2010.zip).
146146

147147

148148
# References

0 commit comments

Comments
 (0)