Problem 1: Visualize Unlabeled Data
Easypython
Problem Description
Write a Python program that creates a scatter plot of unlabeled 2D data containing two visually distinct groups, without any color-coding, to represent the raw input a clustering algorithm would receive.
Input
Two groups of 2D points, combined into a single dataset.
Output
A displayed scatter plot with no color distinction between groups.
Constraints
- Each group should have at least 4 points.
Example Input
textgroup_a=[[2,3],[3,3],[2,4]], group_b=[[8,8],[9,8],[8,9]]
Example Output
text(A scatter plot showing two visually separated clusters of points, uncolored)
Concepts Covered
plt.scatter(), data combination with np.vstack().