-
The code of all the experiments can be found in the folder exp-code.
-
All the opensource data can be found in the folder opensource-data.
-
A well complied database IoTDB is given in the folder apache-iotdb-0.13.3-all-bin, which is built from the source code of LSMOD.
-
The main code of our proposal LSMOD can be found in DoddsExecutor.
- Compile the time series database IoTDB by the following command. There is also a well compiled database in the folder apache-iotdb-0.13.3-all-bin.
mvn clean package -DskipTests -Dcheckstyle.skip=True
-
Start the server and the client. Detailed steps can be found in the online documentation.
-
Load the dataset TAO-OceanGraphic by executing the following commands in the client.
LOAD '../../opensource-data/root.tao/1/'
- Process distance-based outlier query.
SELECT DODDS(s9, 'r'='15', 'k'='50', 'w'='1200000', 's'='600000') from root.tao.d0
Note: For UCI-Gas and UCI-PAMAP2, the bucket_width could be easily set by 'g' = '0.1' in the query for convenience. You can also set the bucket width in the configuration of the database.