Coder Social home page Coder Social logo

mvkdr's Introduction

MvKDR

This repository contains Python implementations of the algorithm MvKDR described in "Multi-view Spectral Clustering on Conflicting Views", which is appearing in ECML/PKDD 2017, SKOPJE, MACEDONIA

Dependencies

Python 2.7, modern versions of numpy, scipy, pandas, scikit-learn. All of them available via pip.

Usage

The implementation of MvKDR is in code/mvkdr.py (currently only two views are supported)

Km_label, km_obj = mvkdr(X1, X2, sigma1, sigma2, lambda1, lambda2, seed)

input:

X1: a n X p1 numpy matrix of n samples and p1 feaures in view 1

X2: a n X p2 numpy matrix of n samples and p2 features in view 2

sigma1:  a float for sigma for gaussian kernel for X1, should be set to the median of pairwise distance of X1

sigma2:  a float for sigma for gaussian kernel for X2, should be set to the median of pairwise distance of X2

lambda1:  a float indictes the regularization parameter of agreement between subspace projection 

lambda2:  a float indictes the regularization parameter of disagreement between alternative subspace projection

seed:   an integer indicates the seed for initialization

Output:

km_label:  a vector of size n for clustering label produced by k-means

km_obj: a float of k-means objective value

Contact

Any questions can be directed to:

  • Xiao He: xiao.he [at] bsse.ethz.ch

mvkdr's People

Contributors

xiao-he avatar

Watchers

James Cloos avatar Yiyi Chen avatar Carson avatar MuhammadRazaKhan avatar Zach Beaver avatar sxl 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.