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, 2019 in Python by Fury

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, 2019 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, 2019 in Python by Arvind
• 3,000 points
+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,780 points
+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
+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
0 votes
2 answers
+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, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 2,364 views
0 votes
0 answers
+5 votes
6 answers

Lowercase in Python

You can simply the built-in function in ...READ MORE

answered Apr 11, 2018 in Python by hemant
• 5,810 points
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 aryya
• 7,440 points
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,290 points