danyaljj / constrained_clustering Goto Github PK
View Code? Open in Web Editor NEWA MATLAB project containing many popular / existing constrained clustering algorithms
A MATLAB project containing many popular / existing constrained clustering algorithms
I tried to run the script experiment_toy.m as described in README.md. I got the following error when I did (I am using Matlab R2016b on MacOS):
Undefined function or variable 'containsMethod'.
Error in runClustering (line 102)
if ~containsMethod(name, titles)
Error in experiment_toy (line 22)
runClustering(X,Y,k, 'Gaussian-Mixtures', rate, p, true);
I am trying to run the uci experiments but the two variables are not defined. They are not actually used beyond the filename but k_variance
sounds like an important variable so I just wanted to check if I can just remove it or not ?
Hi
I have been using rdpmeans and I believe there is an error in the cluster removal section.
centroid( c - add , : ) = [];
nbCluster = nbCluster - 1;
disp('Cluster removed!!!!!!!!!!!!! ')
add = add + 1;
ind = find(assignment > c );
assignment(ind) = assignment(ind) - 1;
when you remove more than one cluster at the same iteration you need to correct the assignments as well
centroid( c - add , : ) = [];
nbCluster = nbCluster - 1;
disp('Cluster removed!!!!!!!!!!!!! ')
ind = find(assignment > c - add);
assignment(ind) = assignment(ind) - 1;
add = add + 1;
That's it.
Thanks a lot for the code.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.