code: def test_regression_task():
      from sklearn.datasets import load_diabetes
  
      diabetes_data = load_diabetes(return_X_y=True)
      X = diabetes_data[0]
      y = diabetes_data[1]
  
      ranked_strengths = measure_interactions(X, y)
  
      # 10 features
      assert 45 == len(ranked_strengths)
  
imports: import pytest
  import numpy
  from math import isclose
  from sklearn.linear_model import LinearRegression, LogisticRegression
  from sklearn.dummy import DummyClassifier
  from ..tutils import synthetic_regression, synthetic_classification, synthetic_multiclass
  from interpret.utils import measure_interactions
label_desc: Use image node_id 20 for calling a global function with example usage: test_regression_task() without return types