code: def test_subset_fit():
      """[Subsemble] 'fit' and 'predict' runs correctly."""
      meta = OLS()
      meta.fit(F, y)
      g = meta.predict(P)
  
      ens = Subsemble()
      ens.add(ECM, partitions=2, folds=3, dtype=np.float64)
      ens.add_meta(OLS(), dtype=np.float64)
  
      ens.fit(X, y)
  
      pred = ens.predict(X)
      np.testing.assert_array_equal(pred, g)
  
imports: import numpy
  from mlens.testing.dummy import OLS, ECM
  from mlens.testing import Data
  from mlens.ensemble import Subsemble, SuperLearner
label_desc: Use image node_id 1 for calling a global function with example usage: test_subset_fit() without return types