Giter VIP home page Giter VIP logo

cdcc-clustering-unsupervised's Introduction

Cross-Domain Contrastive Learning for Time Series Clustering

The source code is for reproducing experiments of the paper entitled "Cross-Domain Contrastive Learning for Time Series Clustering"

Datasets

The UCR dataset used in the paper are available at : http://www.timeseriesclassification.com/ . In order to read the data intuitively and save space, we converted the data into csv format and compressed it.

Usage

Install packages

You can use your favorite package manager, or create a new environment of python 3.6 or greater and use the packages listed in requirements.txt pip install -r requirements.txt

Setting parameters

Set parameters in file config/CDCC.yaml. Hyperparameters were adjusted using grid search and optimized using the Adam optimizer. The hyperparameter learning rate is searched from {0.01, 0.001, 0.0003}, the number of layers num_layers of the BiLSTM are searched from {1, 2, 3}, the parameter batch_size is set according to the size of the dataset, which is searched from {8,16,32,64,128,256}, and the dropout rate p is searched from {0.1, 0.3, 0.5}.

Run

python main.py -f config/CDCC.yaml# CDCC-clustering-unsupervised

cdcc-clustering-unsupervised's People

Contributors

burntt avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.