code: def test_iso_reg_01_weights():
      X, y = make_regression(
          n_samples=10000, n_features=1, random_state=41, noise=0.8
      )
      w = np.random.randint(low=0, high=2, size=y.shape)
      test_isotonic_regression(y, X, w)
  
file_path: h2o-3/h2o-py/tests/testdir_algos/isotonic/pyunit_isotonic.py
imports: import sys
  from tests import pyunit_utils
  import numpy
  import pandas
  from pandas.testing import assert_frame_equal
  from sklearn.datasets import make_regression
  from sklearn.isotonic import IsotonicRegression
  import h2o
  from h2o import H2OFrame
  from h2o.estimators.isotonicregression import H2OIsotonicRegressionEstimator
label_desc: Use image node_id 7 for calling a global function with example usage: test_iso_reg_01_weights() without return types