image thumbnail

updated 16 days ago

Bayesian clustering with outliers and missing data by Gabriel Agamennoni

Object MatLab implementation of the Bayesian Robust Mixture Model (BRMM). (bayesian models, clustering, robust clustering)

TestBRMM()

(ConstructOnLoad) BRMM %#ok

image thumbnail

updated 1 month ago

Mean shift pixel cluster by Yue Wu

This toy code implements the classic and basic pixel clustering using mean shifts (image processing, clustering, statistics)

meanShiftPixCluster(x,hs,hr,th,plotOn)

image thumbnail

updated 3 months ago

k-means++ by Laurent S

Cluster multivariate data using the k-means++ algorithm. (clustering, kmeans, data mining)

kmeans(X,k)

image thumbnail

updated 3 months ago

MatClust by Mattias Karlsson

Spike sorting program for extracellular recordings. Version 1.4 (spike sorting, neuroscience, clustering)

CSI()

ExcludeOverlappingPoints(clustnum)

ISIfilter()

image thumbnail

updated 8 months ago

Graph Agglomerative Clustering (GAC) toolbox by Wei Zhang

Graph Degree Linkage: Agglomerative Clustering on a Directed Graph. ECCV 2012. (clustering, statistics, data exploration)

gacBuildDigraph_c(distance_matrix, K, a)

gacBuildLlinks_cwarpper(distance_matrix, p, NNIndex)

gacFindKcCluster (affinityTab, Kc)

image thumbnail

updated 8 months ago

connected component labeling like bwlabel by michael scheinfeild

recursive function of labeling binary image 4 connected (connected component l..., clustering, bwlabel)

detect(bw);

image thumbnail

updated 8 months ago

Kmeans by Wei LI

Kmeans implemented using accumarray (machine learning, clustering)

kmeans(D, k, maxIter)

image thumbnail

updated 9 months ago

Generate Data for Clustering by Nuno Fachada

Generates 2D data for clustering. (clustering, data, generator)

generateData( ...

image thumbnail

updated 9 months ago

Inverse Optimal Functions for Motoman HP-3 Tip Precision by Alan Jennings

A population based optimization increases pointing precision for a planar robotic arm. (robotics, inverse, inverse kinematics)

PSO_Function_ArmijoRobot_3

PointCluster2Angles_HP5_3

Clusters=ClusterGenerate_4(TestPoint,J,J_Grad,Y_Grad,Option...

image thumbnail

updated 9 months ago

A Fast Image Segmentation using Delaunay Triangulation (Revisited) by Abbas Cheddad

This is a tuned version of the old post on Delaunay-based image segmentation. (delaunay triangulatio..., image segmentation, cell segmentation)

DSNew.m

[Segmented Clusters]=DSIterate(Segmented,B,C,D)

image thumbnail

updated 9 months ago

Dunn's index by Julian Ramos

This is an implementation of the Dunn's index for clustering. (dunn, measurement, index)

DI=dunns(clusters_number,distM,ind)

dunnsDemo.m

image thumbnail

updated 10 months ago

Customized K-Means by Nirmal

Customized K-means where you can choose different initial cluster centroid. (kmeans, clustering)

[class,centroid,counter]=MyKMeans(data,k,option,init_centro...

image thumbnail

updated 10 months ago

clusterData by Brett Shoelson

Clusters an MxN array of data into an unspecified number (P) of bins. (data analysis, group data, cluster)

clusterData(data, sensitivity)

image thumbnail

updated 11 months ago

PSA: Part and Select Algorithm by Alan de Freitas

Partitions the points X into K clusters and also returns the K more representative points. (clustering, part and select algor..., psa)

psa( X, k )

image thumbnail

updated 12 months ago

EM algorithm for Gaussian mixture model with background noise by Andrew

Standard EM algorithm to fit a GMM with the (optional) consideration of background noise. (gmm, em, clustering)

GM_EM(X,k,bn_noise,reps,max_iters,tol)

image thumbnail

updated 1 year ago

Free Split and Merge Expectation Maximization for MultiVariate Gaussian Mixture by Sebastien PARIS

FSMEM can estimate MVGM parameters and number of conpounds via split/merge cluster moves (split and merge, clustering, signal processing)

test_fsmem_mvgm

gene_mvgm(d , K , sig)

init_mvgm(Z , K)

image thumbnail

updated 1 year ago

EM algorithm for Gaussian mixture model by Mo Chen

EM algorithm for Gaussian mixture. Works on arbitray dimensions with high speed and precision. (em, clustering, gmm)

emgm(X, init)

logsumexp(x, dim)

spread(X, label)

image thumbnail

updated 1 year ago

K-medoids by Mo Chen

K-medoids clustering algorithm (kmedoids, clustering, kmeans)

kmedoids(X,k)

spread(X, label)

image thumbnail

updated 1 year ago

Spherical K-means by Mo Chen

A kmeans like clustering algorithm to cluster data on a unit sphere. (clustering)

spkmeans(X, init)

image thumbnail

updated 1 year ago

kmeans clustering by Mo Chen

Fully vectorized kmeans algorithm. Fast yet simple (10 lines) (kmeans, clustering, kmeans code for image...)

litekmeans(X, k)

spread(X, label)

image thumbnail

updated 1 year ago

K-means++: kmeans algorithm with smart seeding by Mo Chen

This is an implementation of the paper k-means++: the advantages of careful seeding. (clustering, kmeans, data analysis)

kmeanspp(X, k)

spread(X, label)

image thumbnail

updated 1 year ago

Kernel k-means by Mo Chen

kernel k-means algorithm (kernel, kmeans, clustering)

knkmeans(K,init)

spread(X, label)

image thumbnail

updated 1 year ago

Color Clustering Matlab by GAGAN

Computes the clusters of Pixels based upon their color. (color, color matlab, clustering)

binary_quant.m

image thumbnail

updated 1 year ago

CLUSTERING THROUGH OPTIMAL BAYESIAN CLASSIFICATION by Lionel

The package contains function for performing soft clustering. (statistics, clustering, clusters)

Dis=contrastEM(x,centroids,py_x)

[npy_x,npy,idxClus]=distinctW(w,py_x,py)

[py_x,centroids,clustind,complexity]=EM(x,beta,varargin)

image thumbnail

updated 1 year ago

The Adjusted Mutual Information by Xuan Vinh Nguyen

The Adjusted Mutual Information for clustering comparison (clustering, data mining, machine learning)

[AMI_]=AMI(true_mem,mem)

image thumbnail

updated 1 year ago

The minCEntropy algorithm for alternative clustering by Xuan Vinh Nguyen

The minCEntropy algorithm for alternative clustering (clustering, alternative clusterin..., data mining)

Cont=Contingency(Mem1,Mem2)

MI(label, result)

[max_mem,max_obj,all_mem,S]=minCEntropy(a,K,sigma_factor,n_...

image thumbnail

updated 1 year ago

The Spherical K-means algorithm by Xuan Vinh Nguyen

Clustering on the hypersphere with the Spherical K-means algorithm (kmeans, spherical kmeans, clustering)

[best_x,best_f,best_membership,empty,loop]=SPKmeans(a,K,n_r...

b=normalize_norm(a)

b=normalize_norm_mean(a)

image thumbnail

updated 1 year ago

Software implementations of PBKM by qi zhang

advantage of speed & performance appears under large number of clusters (clustering, large number of clust..., clustering algorithm)

IDXA=cut(n,IDX);

IDXA=divKMS(x,K);

T=cengci(x,K);

image thumbnail

updated 1 year ago

Clustering results measurement by Praisan Padungweang

Measure percentage of Accuracy and the Rand index of clustering results (measurement, clustering)

[Acc,rand_index,match]=AccMeasure(T,idx)

image thumbnail

updated 1 year ago

A Fast Image Segmentation using Delaunay Triangulation by Abbas Cheddad

A fully automated process that does not require initial estimate of number of clusters. (object extraction, cell segmentation, image segmentation)

DS.m

DSeg(varargin)

image thumbnail

updated almost 2 years ago

PlotClusters.m by Elad Kivelevitch

This function plots clustering data, for example the one provided by kmeans, if the data is 2d or 3d (clustering, data exploration, statistics)

[]=PlotClusters(Data,IDX,Centers,Colors)

image thumbnail

updated almost 2 years ago

color Image Segmentation by Athi

Segments a color image into regions. (clustering, segmentation, image segmentation)

colImgSeg(inImg, nBins, winSize, nClass)

SampleUsage.m

image thumbnail

updated almost 2 years ago

Fast K-means by Tim Benham

Fast K-means implementation with optional weights and K-means++ style seeding. (clustering, kmeans, weighted kmeans)

fkmeans(X, k, options)

image thumbnail

updated 2 years ago

K-means image segmentation by Pablo Fonseca

K-means image segmentation based on histogram to reduce memory usage which is constant for any size. (clustering, kmeans, image)

kmeansclustering(im, k)

image thumbnail

updated 2 years ago

sinspace by Sky Sartorius

Generates a sine-spaced vector with elements clustered at one of the two endpoints (clustered, clustering, sine)

sinspace(d1, d2, n, factor)

image thumbnail

updated 2 years ago

cosspace by Sky Sartorius

Generates cosine- or acos-spaced vector with elements clustered or sparse at the endpoints (cosine, spacing, spaced)

cosspace(d1, d2, n, factor)

image thumbnail

updated 2 years ago

kmedioids by Benjamin Sapp

Performs kmedioids clustering, requires only a nxn distance matrix D and number of clusters, k. (clustering, k medioids, k centroids)

kmedioids(D,k)

image thumbnail

updated 2 years ago

uidendrogram by Malcolm McLean

Interactive dendrogram viewer using nested boxes (dendrogram, clustering, gui)

drawtree(link, cut, colours, iwidth, iheight)

getleaves( link, id )

testuidendrogram

image thumbnail

updated 2 years ago

Fast Affinity Propagation Clustering under Given Number of Clusters by Kaijun Wang

Fast searching the given number of clusters (clustering, statistics, fast ap clustering)

[idx,netsim,dpsim,expref,pref,lowp,highp]=apclusterK_fast2(...

[idx,netsim,dpsim,expref,pref]=apclusterK(s,kk,prc);

[idx,netsim,i,unconverged,dpsim,expref]=apcluster(s,p,varar...

image thumbnail

updated almost 3 years ago

Quad-Tree segmentation - MEX by Ahmad

Segments an input image using Quad-trees (quadtree, segmentation, clustering)

quadtreeseg( im, varargin )

image thumbnail

updated almost 3 years ago

KMeans Segmentation - MEX by Ahmad

Given N data elements of R dimensions (N x R matrix), it segregates the n elements into k clusters (kmeans, segmentation, clustering)

kmeansK( data_vecs, k )

image thumbnail

updated 3 years ago

Hypergraph edge/vertex matrix by Marcos Bolanos

Convert binary undirected adjacency matrix into a hypergraph matrix. (hypergraph, clusters, adjacency matrix)

Hyper.m

image thumbnail

updated 3 years ago

Image segmentation using statistical region merging by Sylvain Boltz

Very simple and fast image segmentation code using statistical region merging. (region merging, clustering, image segmentation)

[maps,images]=srm(image,Qlevels)

srm_getborders(map)

srm_imgGrad(I)

image thumbnail

updated 3 years ago

QT Clustering using Euclidean Distance, Jackknife Correlation by Misha Koshelev

Some simple MATLAB files that perform QT clustering (clustering, medicine, genetics)

idx=qtclusteuclid(G,d,D)

idx=qtclustjackknife(G,d,J)

idx=qtclustmod(G,d,D)

image thumbnail

updated 3 years ago

Spectral Clustering Algorithms by Asad Ali

Implementation of four key algorithms of Spectral Graph Clustering using eigen vectors : Tutorial (spectral clustering, graph segmentation, normalized cuts)

CalculateAffinity(data)

GenerateData(select)

Jordan_Weiss.m

image thumbnail

updated 3 years ago

gaussian_mixture_model.m by Matthew Roughan

Estimate the parameters of a 1D Gaussian Mixture Model using the EM algorithm. (expectation maximizat..., estimation, em)

...

norm_density(x, mu, sigma)

normcdf(x, mu, sigma)

image thumbnail

updated 3 years ago

Fuzzy c-means segmentation by Santle Camilus

This program segments an image into 2 partitions using standard Fuzzy k-means algorithm. (clustering, cmeans, image segmentation)

fuzzycmeans.m

image thumbnail

updated 3 years ago

Automated Failure Boundary Mapping by Stuart Kozola

Demo files from July 21, 2009 webinar (statistics, optimization, clustering)

Failure Boundary Identification

Flutter Model Demo

boundaryArea(Y,X,lb,ub,limitFunction)

image thumbnail

updated almost 4 years ago

Adaptive Affinity Propagation clustering by Kaijun Wang

advantage of speed & performance appears under large number of clusters & large dataset (statistics, probability, affinity propagation)

...

[idx,netsim,i,unconverged,dpsim,expref]=apcluster(s,p,varar...

ind2cluster(labels)

image thumbnail

updated almost 4 years ago

Estimating the number of clusters via System Evolution by Kaijun Wang

estimate number of clusters for far clusters, small-larger clusters, slightly overlapping clusters (statistics, clustering, number of clusters)

SystemEvolution_energy(labels,Dist,dc,N,Ns,verbose)

SystemEvolution_findk(inter,inter2,intra,intra2,N,Ns,Hsep)

[A1,A2,B1,B2,A3,B3]=cluster_model(Dmatrix,Ua,Ub)

Contact us