Skip to content

IsolationKernel/TIDKC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IDKC-Trajectory

The new IDK-based clustering algorithm, called IDKC, makes full use of the distributional kernel for trajectory similarity measuring and clustering. IDKC identifies non-linearly separable clusters with irregular shapes and varied densities in linear time.

Requirements

  • Python >= 3.5
  • Matlab >= R2019a

Datasets

All datasets are stored in ./datasets as .mat files, containing trajectory data and labels.

Similarity measure & trajectory representation

You can use IDK to generate vector embeddings of trajectories. Run ./IDK/traj_embedding.py under current directory:

python ./IDK/traj_embedding.py

Visualization with MDS

The embedding data is stored in ./embeddings. You can also use MDS to visualize the embedding result:

python ./utils/trajMDS.py

Trajectory clustering with IDKC

After generating the embedding of trajectories, run ./TIDKC/IDKC_traj.mlx to do clustering.

About

Trajectory clustering based on Isolation Distributional Kernel

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •