TSNE: ValueError: setting an array element with a sequence
TSNE: ValueError: setting an array element with a sequence Question: I’m trying to pass a numpy array to TSNE in order compress that to 2 columns and after that plotting with seaborn. result is a dataframe that i’ve read from a csv. arr=result.to_numpy() n_components = 2 tsne = TSNE(n_components).fit_transform(arr) arr.shape arr’s output is like this …
Total answers: 1