Deep Work

with No Comments

Here are some quotes from a section from the book Deep Work by Cal NewPort that I greatly enjoyed and find quite accurate and insightful: “Most people assumed (and still do) that relaxation makes them happy. We want to work … Read More

Two’s Complement

with No Comments

Explanation of two’s complement: https://www.cs.cornell.edu/~tomf/notes/cps104/twoscomp.html Idea: Take binary digits, flip them all, then add 1 To undo two’s complement: -1 from binary digit, flip all digits, convert

KMeans Clustering

with No Comments

Since I’m currently doing KMeans Clustering for my AI class, here are some resources I found helpful: sklearn.cluster.KMeans: https://scikit-learn.org/stable/modules/generated/sklearn.cluster.KMeans.html Example code of kMeans segmentation:  https://www.idtools.com.au/segmentation-k-means-python/ Image Segmentation using KMeans: Open CV Tutorial: https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_ml/py_kmeans/py_kmeans_opencv/py_kmeans_opencv.html Open CV Full Tutorial with Python:   

1 2 3 4 5 8