Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 416 Bytes

File metadata and controls

17 lines (14 loc) · 416 Bytes
import matplotlib.pyplot as plt
# %matplotlib inline
import numpy as np
from matplotlib.patches import Circle, PathPatch
from sklearn.cluster import KMeans
  1. Use the same data from yesterday's darts game and try to cluster the data using k-means.

  2. Draw the board, the darts, its centeroids and circles including all points belonging to a certain cluster.

Use:

matplotlib.patches import Circle