__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.
Basic error logger.
This logger prints out basic information about the optimization. These include the iteration number, error and how much time has elapsed from the previous callback invocation.