Using a window is it possible to find those density for clustering.How can I do that.

# How to estimate the density threshold separately for each dimension.

2 views (last 30 days)

Show older comments

I need to find the density threshold separately for each dimension.

In this step,objects in each of the D attributes are arranged in increasing order.A closely packed 5 elements region in it is identified and in case of tie,it is resolved randomly.The window size is set to 5 elements (subspace clusters having less than 5 objects are assumed to be non significant).The maximum seperation between two consecutive elements in the group is rounded to next decimal point and is recorded as density threshold.

How can I do that please help me. The dataset is attached here.

### Answers (1)

Sylvain Lacaze
on 8 Jan 2020

Hi Silpa,

In your code, your data variable is 336x7 such that data(i,:) is 1x7, causing the dimension mismatch error you're getting.

Use data(i,1:2) instead.

HTH,

Sylvain

##### 0 Comments

### See Also

### Categories

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!