Hermes
|
The file implements trajectory transformation by adding outliers. More...
Functions | |
integer | trajectory_transformation_add_noise (text dataset, float rate, float distance, boolean save=true, text new_dataset_name="transformed", boolean csv_file=true) |
This function performs trajectory transformation by adding noise points (outliers) to the initial trajectory. More... | |
The file implements trajectory transformation by adding outliers.
integer trajectory_transformation_add_noise | ( | text | dataset, |
float | rate, | ||
float | distance, | ||
boolean | save = true , |
||
text | new_dataset_name = "transformed" , |
||
boolean | csv_file = true |
||
) |
This function performs trajectory transformation by adding noise points (outliers) to the initial trajectory.
[in] | dataset | Name of the dataset |
[in] | rate | Percentage of points to be added, 0 ≤ rate ≤ 1 |
[in] | distance | Float which indicates the maximum distance of the outlier from the trajectory |
[in] | save | Boolean which indicates whether the new dataset will be saved in Hermes |
[in] | new_dataset_name | The name with which the transformed dataset will be stored in Hermes |
[in] | csv_file | Boolean which indicates whether the new dataset will exported in a cvs format (traj_new.txt) |