You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValueError: The parameter init="pca" cannot be used with metric="precomputed".
This error arises due to a change in scikit-learn version 1.2, where the default value for the init parameter in TSNE was updated from "random" to "pca". Explicitly setting the init parameter to "random" should fix this.
The text was updated successfully, but these errors were encountered:
When attempting to perform a projection using TSNE with the following code, a ValueError is encountered:
ValueError: The parameter init="pca" cannot be used with metric="precomputed".
This error arises due to a change in scikit-learn version 1.2, where the default value for the init parameter in TSNE was updated from "random" to "pca". Explicitly setting the init parameter to "random" should fix this.
The text was updated successfully, but these errors were encountered: