On Mon, Jun 24, 2013 at 12:14 PM, Rajan Gupta <rajangupta0...@gmail.com>wrote:

> Do i need to create custom code for this, if yes do help me
>

Yes.  You definitely need custom code for this.

You also need to think about your data and why you want clusters.

What does age mean to a cluster?  Are people with the same age supposed to
be the same in some sense?  What does 5 years difference mean?  Is the
distance from 20 to 25 the same as the different between 55 and 60?

What about city?  How many cities are there?  Do you have any sense of
which cities are more like some than others?

What about income?  Should perhaps use log(income) for computing distances?

What is "perwt"?

Why is there just one product per line?  What products are more similar
than others?

Reply via email to