code: def test_recluster(self):
      # the following test is quite specific to the current implementation and not part of any api,
      # but it makes improving those sections of the code easier as long as sorted_clusters and the
      # cluster_model results are supposed to stay the same. Potentially this test will deprecate.
  
      elda = EnsembleLda.load(datapath("ensemblelda"))
      loaded_cluster_model_results = deepcopy(
          elda.cluster_model.results
      )
      loaded_valid_clusters = deepcopy(elda.valid_clusters)
      loaded_stable_topics = deepcopy(elda.get_topics())
  
      # continue training with the distance matrix of the pretrained reference and see if
      # the generated clusters match.
      elda.asymmetric_distance_matrix_outdated = True
      elda.recluster()
  
      self.assert_clustering_results_equal(
          elda.cluster_model.results, loaded_cluster_model_results
      )
      assert elda.valid_clusters == loaded_valid_clusters
      np.testing.assert_allclose(
          elda.get_topics(), loaded_stable_topics, rtol=RTOL
      )
  
imports: import os
  import logging
  import unittest
  import numpy
  from copy import deepcopy
  import pytest
  from gensim.models import EnsembleLda, LdaMulticore, LdaModel
  from gensim.test.utils import datapath, get_tmpfile, common_corpus, common_dictionary
label_desc: Use image node_id 6 for calling the TestEnsembleLda obj's underlying member method code with example usage: obj.test_recluster() without return types