https://github.com/citiususc/lastpminer
LA-STPminer algorithm
https://github.com/citiususc/lastpminer
Last synced: 7 months ago
JSON representation
LA-STPminer algorithm
- Host: GitHub
- URL: https://github.com/citiususc/lastpminer
- Owner: citiususc
- Created: 2016-03-09T14:32:21.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-27T11:27:38.000Z (over 8 years ago)
- Last Synced: 2025-01-29T19:23:56.283Z (over 1 year ago)
- Language: Java
- Size: 8.25 MB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
How to run the algorithms?
==============================
1. Set up src/config/config.properties. There is an example file inside the folder where the possible parameters are explained.
2. Identify which parameters need to be set. For a further explanation check class 'Principal'. The most relevant are:
* algorithm [**ASTP** | LASTP | ...]
* mode [**BASIC** | EPISODE | SEED | FULL]
* windowSize [**80**, int]
* minFreq [**30**, int]
* collection [**apnea** | BD4 | BD5 | BDR56 | ... ]
* iterations [**1**, int ]
Full mode means that the algorithm uses both the episode definitions and the seed pattern. Only the SAHS collection (AKA "apnea") can use the seed pattern.
3. Run the java command setting the classpath and JVM arguments.
Example:
`java -cp /path/to/hstpminer.jar:/path/to/lib/* -Xms512m -Xmx4g -XX:-UseGCOverheadLimit -XX:+UseConcMarkSweepGC source.Principal algorithm=wm mode=basic windowSize=20 minFreq=300 collection="BDRoE6" iterations=5 resultPath="/path/to/results/BDRoE6/" writeReport=true writeMarkingReport=true writeIterationsReport=true`