Skip to content

Corkman99/Shapelet-Cluster

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shapelet-Cluster

Unsupervised Learning clustering technique is implemented in order to label a given unlabeled dataset. Output of the implementation will provide a classify each time instance of a multivariate time series dataset.

How to run

EuclideanV1.1.py script

Function named cluster_algo(r,c,eps,min_pts,dataset_name) has to be called passing the necessary parameters. r - Number of rows of the total dataset c - Expected number of events/clusters the multivariate time series is expected to be clustered to eps - maximum radius to be considered with respect to a given data point in defining cluster boundary min_pts - minimum number of points within a cluster dataset_name - provide the obtained dataset file name

cluster_accuracy.py script

Function named cluster_accuracy(input_file_with_clusters,output_file_with_stats) has to be called passing the necessary parameters.

Important

The technique only facilitates numeric datasets The accuracy of the clustering technique will be varied upon the values passed for eps, min_pts

Testing

In order to test the approach we have used following labeled datasets and prepared the dataset file without the annotated column and compared the results obtained from our implementation against the actual annotation. Occupancy Detection Dataset - https://archive.ics.uci.edu/ml/datasets/Occupancy+Detection+ EEG-Eye State Dataset - https://archive.ics.uci.edu/ml/datasets/EEG+Eye+State

About

Unsupervised Shapelet Clustering code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%