docstr: ...Test boundaries detection for method `linspace`
          
docstr_tok: ["...","Test","boundaries","detection","for","method","`","linspace","`"]
code: def test_linspace_boundaries_detection(self):
      """...Test boundaries detection for method `linspace`"""
      n_cuts = 3
      binarizer = FeaturesBinarizer(
          method="linspace",
          n_cuts=n_cuts,
          detect_column_type="column_names",
          remove_first=False,
      )
      # only for the two continuous features
      boundaries_0 = binarizer._get_boundaries(
          self.columns[0], self.features[:, 0], fit=True
      )
      np.testing.assert_array_almost_equal(
          boundaries_0,
          np.array([-np.inf, -0.230951, 0.527193, 1.285336, np.inf]),
      )
  
      boundaries_1 = binarizer._get_boundaries(
          self.columns[1], self.features[:, 1], fit=True
      )
      np.testing.assert_array_almost_equal(
          boundaries_1,
          np.array([-np.inf, -0.495156, 0.124166, 0.743488, np.inf]),
      )
  
file_path: tick/tick/preprocessing/tests/features_binarizer_test.py
imports: import unittest
  import numpy
  import pandas
  from sklearn.preprocessing import OneHotEncoder
  from scipy.sparse import csr
  from tick.preprocessing.features_binarizer import FeaturesBinarizer
label_desc: Use image node_id 4 for calling the Test obj's underlying member method code with example usage: obj.test_linspace_boundaries_detection() without return types