|
List Info
Thread: C-Sharp (C#) Group: Dendrogram Using C#
|
|
| C-Sharp (C#) Group: Dendrogram Using C# |

|
2006-07-17 19:36:24 |
HI all,
I am new to C# and working on a project.I need to perform
the
herarchical clustering and then show the results through
dendrogram.
I can perform the clustering but have no idea regarding
dendrogram.Can
anybody please tell me how I can do that?
Her is the link for some dendrogram information.
http://www.mathworks.com/access/helpd
esk/help/toolbox/stats/dendrogram.html
Garewal
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|
|
| C-Sharp (C#) Group: Re: Dendrogram Using
C# |

|
2006-07-18 15:43:48 |
Garewal,
I have nothing but apologies. I tried to take some time
to
investigate your dendrogram dilemma, much to no avail. I can
honestly
say that the only thing I left with was a headache. Again,
many
apologies. If there is a mathematician available, I would
certainly ask
them. You probably will not find many on this group, but
experts-exchange.com should be able to lend some assistance.
I wish you
all the best.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|
|
| C-Sharp (C#) Group: Re: Dendrogram Using
C# |

|
2006-07-18 16:35:50 |
Hi Lance,
Ya even I spent a lot of time for this but didnt find
anything
useful..anyways..thanks for the try though..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|
|
| C-Sharp (C#) Group: Re: Dendrogram Using
C# |

|
2006-07-18 18:58:13 |
|
http://www.vni.com/products/imsl/cSharp/overview.html does what you need. Alternatively why not convert it from another language? There are countless implementations in older languages such as:
https://svn.r-project.org/R/trunk/src/library/stats/R/hclust.R or
http://www.weizmann.ac.il/mcb/UriAlon/Papers/dendrogram_temporal_order.m
On 7/18/06, Garewal <gmail.com">gaurav.garewal gmail.com
> wrote: Hi Lance,
Ya even I spent a lot of time for this but didnt find anything
useful..anyways..thanks for the try though..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C-Sharp (C#)" group. To post to this group, send email to C_Sharp googlegroups.com To unsubscribe from this group, send email to C_Sharp-unsubscribe googlegroups.com For more options, visit this group at http://groups.google.com/group/C_Sharp -~----------~----~----~----~------~----~------~--~---
|
| C-Sharp (C#) Group: Re: Dendrogram Using
C# |

|
2006-07-18 23:05:24 |
Hi Liam,
Does IMSL gives option to straighway draw the dendrogram (or
something
like that) using a given data set or do we have to writre
some kind of
code.
Thanks a lot for your help.
Gaurav
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|
|
| C-Sharp (C#) Group: Re: Dendrogram Using
C# |

|
2006-07-19 08:51:08 |
|
Hi Gaurav,
C# is not a mathematical or statistical language so
doesn't carry this as an in-built feature. Given how complicated
Dendrogram's can get I would suggest you might to invest in one of the
c# Maths packages but failing that you will need to write the code
yourself. It shouldn't be *that* difficult to generate one in code
using the System.Drawing namespace. All you are doing is plotting
points in space and then connecting them so once you have the unit
distances between the points & the cluster it should be fairly
easy. Using Wikipedia's example
(http://en.wikipedia.org/wiki/Dendrogram) it might work something like:
- Use a recursive method to double the value of each unit until the smallest unit is greater then 100.
- Create a new system.drawing with a width of 100px x however many
points your analysis started with and a height of your longest cluster
chain
- Plot your points 100px apart along the top x axis of the drawing
- The x coordinate of each cluster will be exactly halfway between
the two points that make it up. The y coordinate you can compute by
visualising an Isosceles triangle upside down laying across the points
& cluster. The top edge will always be 100px and the other two
sides will always be the unit of distance between the points and the
cluster. You can apply Pythagorean theorem to this in order to
calculate the height the triangle would be and thus the y coordinate of
the cluster
Obviously for clusters involving more then 2 points you need to apply
different shapes to the model. I am sure the Maths packages have much
more elegant models but this is the best I can do off the top off my
head.
Liam
On 7/19/06, Garewal <gmail.com">gaurav.garewal gmail.com> wrote:
Hi Liam,
Does IMSL gives option to straighway draw the dendrogram (or something like that) using a given data set or do we have to writre some kind of code.
Thanks a lot for your help.
Gaurav
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "C-Sharp (C#)" group. To post to this group, send email to C_Sharp googlegroups.com To unsubscribe from this group, send email to C_Sharp-unsubscribe googlegroups.com For more options, visit this group at http://groups.google.com/group/C_Sharp -~----------~----~----~----~------~----~------~--~---
|
| C-Sharp (C#) Group: Re: Dendrogram Using
C# |

|
2006-07-19 13:01:32 |
Liam,
I will try what you have suggested...
Thanks a lot for your time and help....
Regards,
Liam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://groups.
google.com/group/C_Sharp
-~----------~----~----~----~------~----~------~--~---
|
|
[1-7]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|