How to estimate the density threshold separately for each dimension.

3 ビュー (過去 30 日間)
Silpa K
Silpa K 2020 年 1 月 7 日
コメント済み: Silpa K 2020 年 1 月 16 日
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.
  11 件のコメント
Image Analyst
Image Analyst 2020 年 1 月 16 日
Well that's what it's famed for. So, over the past 7 days, did you actually try it? If not, why not. Did you at least try any examples in the help? If not, why not? And please don't say something like "I'm just a beginner so I can't run examples from the help."
Silpa K
Silpa K 2020 年 1 月 16 日
Yes sir I tried. Iam not a beginner but also Iam not an expert.Over the past days I studied and understand the problem. I also tried lots of examples using dbscan() and distance measures. But I didn't get the accurate answer. I need help.Thank you.

サインインしてコメントする。

回答 (1 件)

Sylvain Lacaze
Sylvain Lacaze 2020 年 1 月 8 日
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

カテゴリ

Help Center および File ExchangeResampling Techniques についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by