Giter VIP home page Giter VIP logo

lwea_lwgp's Introduction

Locally Weighted Ensemble Clustering

Overview

This repository provides the MATLAB code for two ensemble clustering algorithms, namely, locally weighted evidence accumulation (LWEA) and locally weighted graph partitioning (LWGP), which are proposed in the following paper:

Dong Huang, Chang-Dong Wang, and Jian-Huang Lai.
Locally Weighted Ensemble Clustering,
IEEE Transactions on Cybernetics, 2018, 48(5), pp.1460-1473.

Description of Files

There are mainly two types of files in this repository:

  1. A pool of 100 base clusterings for each dataset;
  2. The code of the LWEA and LWGP algorithms.

Data

The base clustering pools for the 15 datasets are provided in the following MAT files:

dataName = 'VS';
dataName = 'Semeion';
dataName = 'SPF';
dataName = 'MF';
dataName = 'IS';
dataName = 'Caltech20';
dataName = 'FCT';
dataName = 'MNIST';
dataName = 'Texture';
dataName = 'ODR';
dataName = 'LS';
dataName = 'ISOLET';
dataName = 'PD';
dataName = 'USPS';
dataName = 'LR';

There are two variables in the MAT file for each dataset, namely, members and gt. The variable gt is the ground-truth label, which is an N-dimension vector. The variable members is an N x s matrix, where each column of it is a candidate base clustering.

Code

The file entitled 'demo_LWEA_and_LWGP.m' is the main file for running LWEA and LWGP. You may change the following settings in order to test the performances of LWEA and LWGP:

1) dataName:	the dataset to be used.
2) M:           the ensemble size.
3) cntTimes:	run LWEA and LWGP for cntTimes times and obtain the average performance.
4) para_theta:	the parameter theta.
5) clsNums:     a vector of positve integers, specifying different numbers of clusters for LWEA and LWGP.

(Please note that M, cntTimes must be positive integers. The parameter para_theta must be greater than zero.)

The execution results and the variable 'bcIdx' will be saved in results_XXX.mat. The bcIdx is a cntTimes x M matrix and stores the information of the ensembles. Each row in bcIdx includes M indices for choosing base clusterings in the pool and thus represents an ensemble of M base clusterings. When comparing our approach to other approaches, please make sure that they use the same base clustering settings, i.e., use the ensembles generated by the same 'bcIdx'.

Questions?

Don't hesitate to contact me if you have any questions regarding this work.
Email: huangdonghere at gmail dot com
Website: https://www.researchgate.net/publication/316681928

lwea_lwgp's People

Contributors

huangdonghere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  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.