code: def test_ols_preds():
      """[Utils] OLS: check predictions."""
      g = np.array([29.5, 34.5, 39.5, 44.5, 49.5, 54.5])
  
      p = OLS().fit(X[:6], y[:6]).predict(X[6:])
  
      np.testing.assert_array_almost_equal(p, g)
  
imports: import numpy
  import os
  from mlens.ensemble.base import Layer, Sequential
  from mlens.utils.dummy import OLS, LogisticRegression, Scale
  from mlens.testing.dummy import ESTIMATORS, PREPROCESSING, ESTIMATORS_PROBA, ECM, ECM_PROBA, InitMixin
  from mlens.testing.dummy import Data, EstimatorContainer
  from mlens.utils import assert_correct_format
  from mlens.utils.formatting import _assert_format, _format_instances
  from mlens.utils.exceptions import NotFittedError
  from mlens.externals.sklearn.base import BaseEstimator
label_desc: Use image node_id 4 for calling a global function with example usage: test_ols_preds() without return types