K-means or Hierarchical clustering?

0 votes
I have 1 million rows of customer-level data and some attributes like Revenue, Tenure, Age

Now I have to create a test & control group out of this (it is for the promotions). Should I do K-means or Hierarchical clustering?
Feb 13 in Python by Fury
63 views

1 answer to this question.

0 votes
You can use hierarchical clustering for this particular case as hierarchical clustering will using a bottom-up approach and consider each observation as one cluster, and will merge clusters successively together and create dendrogram and each level of it you will be able to visualize merging of all columns,
answered Feb 13 by Dinesh

Related Questions In Python

0 votes
1 answer

Can some one explain k-means algorithm with examples?

What is K-means Clustering? K-means (Macqueen, 1967) is ...READ MORE

answered Sep 9 in Python by Arvind
• 2,960 points
82 views
+2 votes
2 answers

How can I plot a k-dsitance graph using python?

Hi there, instead of sklearn you could ...READ MORE

answered Apr 10, 2018 in Python by charlie_brown
• 7,720 points
1,349 views
+2 votes
6 answers

How can I change directory or "cd" in Python?

Context Manager: cd import os class cd:     """Context manager for ...READ MORE

answered Oct 18, 2018 in Python by Nabarupa
136 views
+1 vote
5 answers

Check whether the file exists or not?

Use this import os os.path.exists(path) # Returns whether the ...READ MORE

answered Oct 18, 2018 in Python by reyam
102 views
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 346 views
+4 votes
6 answers
0 votes
1 answer

How does Python know whether a variable in the class is a method or a variable?

In python objects/variables are wrapped into methods ...READ MORE

answered Sep 18, 2018 in Python by ariaholic
• 7,340 points
57 views
0 votes
1 answer

comparing strings in Python using "==" or "is"

is is used for identity testing and ...READ MORE

answered Sep 19, 2018 in Python by SDeb
• 13,190 points
42 views