code: def test_param_belongs_and_is_tangent(self, n_samples, atol):
      space = self.estimator.space
      X, y = self.data_generator.random_dataset(n_samples)
  
      self.estimator.fit(X, y)
  
      intercept = self.estimator.intercept_
      coef = self.estimator.coef_
  
      belongs = space.belongs(intercept, atol=atol)
      self.assertTrue(belongs)
  
      is_tangent = space.is_tangent(coef, intercept, atol=atol)
      self.assertTrue(is_tangent)
  
file_path: geomstats/geomstats/test_cases/learning/geodesic_regression.py
imports: import pytest
  import geomstats.backend
  from geomstats.test.random import RandomDataGenerator
  from geomstats.test_cases.learning._base import BaseEstimatorTestCase
label_desc: Use image node_id 3 for calling the GeodesicRegressionTestCase obj's underlying member method code with example usage: obj.test_param_belongs_and_is_tangent(n_samples, atol) without return types