- #1

- 765

- 15

If I have a set of azimuths, e.g. [ 0, 10, 11, 67, 68, 69, 70, 124, 127, 136, 355].

How can I cluster these directions bearing in mind that 355 is close to 0?

Can someone point me to a link, preferably with an algorithm I can use.

Cheers

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter billiards
- Start date

- #1

- 765

- 15

If I have a set of azimuths, e.g. [ 0, 10, 11, 67, 68, 69, 70, 124, 127, 136, 355].

How can I cluster these directions bearing in mind that 355 is close to 0?

Can someone point me to a link, preferably with an algorithm I can use.

Cheers

- #2

mfb

Mentor

- 35,392

- 11,744

If you don't find one, this hack might work: transform your one-dimensional distribution to a circle in 2 dimensions: x -> (sin x, cos x), and look for clusters there.

- #3

- 765

- 15

Any idea what the best clustering algorithm to use would be? Ideally I want something that can figure out the optimum number of clusters itself from the data.

(Incidentally I am trying to do this using python -- so any python specific help would be particularly appreciated)

- #4

mfb

Mentor

- 35,392

- 11,744

No idea, sorry.

Share:

- Replies
- 1

- Views
- 3K