code: def test_actual_results(params):
      """Test that the actual results are the expected ones."""
      knn = KNeighborsClassifier(n_neighbors=1, **params)
      proba_actual = knn.fit(X, y).predict_proba(X_test)
      pred_actual = knn.predict(X_test)
      np.testing.assert_array_equal(proba_actual, y_proba)
      np.testing.assert_array_equal(pred_actual, y)
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_actual_results(params) without return types