code: def converter_multidimensionalscaling(data_fname):
      try:
          import numpy
          from shogun import (
              MultidimensionalScaling,
              EuclideanDistance,
              CSVFile,
          )
  
          features = sg.create_features(CSVFile(data_fname))
  
          distance_before = EuclideanDistance()
          distance_before.init(features, features)
  
          converter = MultidimensionalScaling()
          converter.set_target_dim(2)
          converter.set_landmark(False)
          embedding = converter.transform(features)
  
          distance_after = EuclideanDistance()
          distance_after.init(embedding, embedding)
  
          distance_matrix_after = distance_after.get_distance_matrix()
          distance_matrix_before = distance_before.get_distance_matrix()
  
          return (
              numpy.linalg.norm(
                  distance_matrix_after - distance_matrix_before
              )
              / numpy.linalg.norm(distance_matrix_before)
              < 1e-6
          )
      except ImportError:
          print("No Eigen3 available")
  
label_desc: Use image node_id 1 for calling a global function with example usage: converter_multidimensionalscaling(data_fname) and returns: unknown