code: def test_svd_nmf_intermediates(svd_model, nmf_model):
      assert isinstance(
          svd_model.matrix, pd.DataFrame
      ), "Output is not of the expected return type of Pandas data frame"
      assert isinstance(
          nmf_model.matrix, pd.DataFrame
      ), "Output is not of the expected return type of Pandas data frame"
      assert not svd_model.matrix.equals(
          nmf_model.matrix
      ), "SVD and NMF models incorrectly have the same exact matrix attribute"
      with pytest.raises(AttributeError):
          assert svd_model.corpus, "Corpus attribute incorrectly exist"
  
imports: import pandas
  import numpy
  import matplotlib
  import sklearn
  import pytest
  from data_describe.text.topic_modeling import topic_model
label_desc: Use image node_id 13 for calling a global function with example usage: test_svd_nmf_intermediates(svd_model, nmf_model) without return types