It is currently 24 May 2013, 21:03

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: K Means Clustering
PostPosted: 21 May 2012, 09:40 
Offline

Joined: 24 Sep 2010, 18:28
Posts: 595
Well, sort of k-means (: The truth must be told: I don't know math much so I made it myself. No repeat nodes, just pure awesomeness of "build array from set" and "find in array" nodes.

1,000,000 points in one second



Download: http://dl.dropbox.com/u/10965660/ice_stuff/k-means.zip

_________________
Constantine
Learnable Programming


Last edited by iamVFX on 15 Mar 2013, 20:01, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 10:28 
Offline

Joined: 24 Sep 2010, 18:28
Posts: 595
Origami


_________________
Constantine
Learnable Programming


Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 12:26 
Offline

Joined: 24 Sep 2010, 18:28
Posts: 595
You can disconnect polygon islands by k-means also (Disconnect Islands compound is attached below)



Compound is allow you to switch to any context



Attachments:
Disconnect Islands.xsicompound [17.34 KiB]
Downloaded 112 times

_________________
Constantine
Learnable Programming
Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 13:09 
Offline
User avatar

Joined: 09 Jun 2009, 14:49
Posts: 364
Location: Brussels, Belgium / London, UK
who's a clever lad eh!? so basically you made this?

Image

awesome stuff. wouldn't know where to begin. thanks very much for posting, will have a look to see if I can understand the ICE tree flow later , thanks!

_________________
Gossip is what no one claims to like, but everybody enjoys.


Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 13:52 
Offline
Administrator
User avatar

Joined: 04 Jun 2009, 12:15
Posts: 3213
Nicely done, obviously.
But for the even more mathematically challenged like me,
could you perhaps say something more about the specific situations
where you would use this?

_________________
Broken, not stirred...


Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 15:56 
Offline

Joined: 24 Sep 2010, 18:28
Posts: 595
Tekano wrote:
who's a clever lad eh!? so basically you made this?

Image

awesome stuff. wouldn't know where to begin. thanks very much for posting, will have a look to see if I can understand the ICE tree flow later , thanks!

Yes, you can! Everyone can, I continue my K.I.S.S. workflow. And the most funniest part - that formula that you showed me - I don't understand it and I'm not used it. All stuff inside of compound is working on arrays sorting. And it works as if it was that formula! How can this be even possible?!

Hirazi Blue wrote:
Nicely done, obviously.
But for the even more mathematically challenged like me,
could you perhaps say something more about the specific situations
where you would use this?

I don't know. But what I know for sure is that it was implemented in Houdini first, and I was thinking on that moment "I can do this in xsi too". He used for each (we call it repeat) node I guess (from description: "as the iterations go along"), I made it without any loops.

_________________
Constantine
Learnable Programming


Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 17:27 
Offline
User avatar

Joined: 09 Jun 2009, 14:09
Posts: 206
Location: London
Nope.

I still have no idea what this is for.

I would like to know though.

_________________
http://www.abstractonion.com/


Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 17:41 
Offline
User avatar

Joined: 09 Jun 2009, 14:49
Posts: 364
Location: Brussels, Belgium / London, UK
SamHowell wrote:
Nope.

I still have no idea what this is for.

I would like to know though.



Hi Sam, am fairly certain that this is related to breaking up objects into pieces where each piece is a voronoi cell http://en.wikipedia.org/wiki/Voronoi_cell - this you must have heard of / seen already :)

_________________
Gossip is what no one claims to like, but everybody enjoys.


Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 18:03 
Offline

Joined: 24 Sep 2010, 18:28
Posts: 595
SamHowell wrote:
Nope.

I still have no idea what this is for.

I would like to know though.

lol, guys

it's about the question... why we want to get an answer, if we don't need it :D

i mean what that sequence of numbers means... they're placed together for some reason, right? why you can find so many people who remembers them? :D

just watch it 'till the end


_________________
Constantine
Learnable Programming


Top
 Profile  
 
 Post subject: Re: K Means Clustering
PostPosted: 21 May 2012, 18:55 
Offline
User avatar

Joined: 09 Jun 2009, 14:09
Posts: 206
Location: London
OK thanks for the help guys. :) I think I see what is being done here and I now know (sort of) what a Veroni Cell is.

Used by John Snow (no less) to help cure cholera. My favourite pub in Soho is named after him. I shall tell everyone about it when I'm in there next. Maybe I'll get a free drink (maybe not).

What use is this for computer graphics? Specifically Softimage users? Some kind of organic procedural modelling, shattering, noise?
Or something else?

_________________
http://www.abstractonion.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 34 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group