Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Muhammad Saif Ullah Khan saifkhichi96

🎯
Focusing
View GitHub Profile
@saifkhichi96
saifkhichi96 / Android-Launch-Screen.md
Last active Feb 24, 2021
Themed launch screen on Android
We couldn’t find that file to show.
@saifkhichi96
saifkhichi96 / k_means.py
Created Jun 21, 2020
K-Means Clustering
View k_means.py
import random
import numpy as np
from scipy.spatial.distance import euclidean, hamming, cityblock
from sklearn.datasets import make_classification, make_circles, make_blobs
from sklearn.base import BaseEstimator
class KMeans(BaseEstimator):
"""K-Means is an unsupervised learning method for clustering unlabeled data.