Dear all,
I really need your help with this assignment:
generate random data with dimension 5 and 4 clusters, then calculate the validity index for various values of k and show that k=4 has the highest validity
im really new to pyhton and i'm managed to do this so far
I really need your help with this assignment:
generate random data with dimension 5 and 4 clusters, then calculate the validity index for various values of k and show that k=4 has the highest validity
im really new to pyhton and i'm managed to do this so far
import numpy as np import pandas as pd from numpy.random import random from numpy.random import randn np.random.seed(20) y=pd.DataFrame(randn(4,5)) print(y)can anyone tell me how to write the full alogrithm , it would be muuuuuch appreciateeed