You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Dmitriy Lyubimov <dl...@gmail.com> on 2011/12/01 00:17:33 UTC

Re: Clustering graph coloring and layout

Nice!

it is very obvious i cannot avoid learning R (sigh).

On Wed, Nov 30, 2011 at 2:58 PM, Ted Dunning <te...@gmail.com> wrote:

> Here is some that I just whipped up.  I have also attached an example of
> the output.
>
> In the sample output, notice how you can see different stories about what
> clusters the brown-ish and purple clusters are near.[image: xyz.png]
>
>
> On Tue, Nov 29, 2011 at 8:03 AM, Grant Ingersoll <gs...@apache.org>wrote:
>
>> I'm still learning R, do you have code handy you could share?
>>
>> On Nov 29, 2011, at 6:25 AM, Ted Dunning wrote:
>>
>> > Coloring is pretty easy in R, which is what I use.  I just build a color
>> > map with the right number of indices and use the cluster id to index the
>> > colormap.  For grins, I vary the transparency according to how seriously
>> > down-sampled the cluster is.  That lets me get a good visual feel for
>> the
>> > actual cluster size.
>> >
>> > On Tue, Nov 29, 2011 at 5:03 AM, Grant Ingersoll <gsingers@apache.org
>> >wrote:
>> >
>> >> Anyone have an easy algorithm for coloring clusters in a nice way?
>>  That
>> >> is, given k clusters, color each centroid and all of it's associated
>> points
>> >> in such a way that it is visually appealing and avoids, to the extent
>> it
>> >> can, coloring two unique clusters the same color.
>> >>
>>
>>
>>
>>
>>
>