MCPcopy Create free account
hub / github.com/AssemblyAI-Community/Machine-Learning-From-Scratch / kmeans.py

File kmeans.py

10 KMeans/kmeans.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import numpy as np
2import matplotlib.pyplot as plt
3
4def euclidean_distance(x1, x2):

Callers

nothing calls this directly

Calls 3

KMeansClass · 0.85
plotMethod · 0.80
predictMethod · 0.45

Tested by

no test coverage detected