Skip to content

Instantly share code, notes, and snippets.

View saifkhichi96's full-sized avatar
🏳️‍🌈

Saif Khan saifkhichi96

🏳️‍🌈
View GitHub Profile
@saifkhichi96
saifkhichi96 / Android-Launch-Screen.md
Last active February 24, 2021 19:36
Themed launch screen on Android
We couldn’t find that file to show.
@saifkhichi96
saifkhichi96 / k_means.py
Created June 21, 2020 13:03
K-Means Clustering
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.