__call__(iteration, error, embedding)¶
This is the main method called from the optimization.
- iteration (int) – The current iteration number.
- error (float) – The current KL divergence of the given embedding.
- embedding (TSNEEmbedding) – The current t-SNE embedding.
stop_optimization – If this value is set to
True, the optimization will be interrupted.
This is called at the beginning of the optimization procedure.