Answer to Question #305503 in Python for suresh

Question #305503

1Using the np.array function create an np array from the data given above.

2Generate a scatter plot for the data.

3Plot dendrogram to visualize the clustering linkage


Data:[[5,3], [10,15], [15,12], [24,10], [30,30], [85,70], [71,80], [60,78], [70,55], [80,91],]


1
Expert's answer
2022-03-03T14:33:51-0500
import numpy as np
dt = np.array(
  [[5,3],
   [10,15], 
   [15,12], 
   [24,10], 
   [30,30], 
   [85,70], 
   [71,80], 
   [60,78], 
   [70,55], 
   [80,91]])
plt.plow(dt)
plt.show()

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS