import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from sklearn.datasets import make_blobs
from sklearn.cluster import KMeans
%matplotlib inline
# We will use simulated data. 3 clusters in 8 dimensional space. Hard to visualize!
X, label = make_blobs(n_samples=150, n_features=8, centers=3, cluster_std=2, random_state=123)
X.shape
def total_internal_ss(X, centers, clusters):
# <Your code goes in here>