code: def converter_stochasticproximityembedding(data_fname, k):
      try:
          import shogun as sg
          from shogun import (
              StochasticProximityEmbedding,
              SPE_GLOBAL,
              SPE_LOCAL,
          )
  
          features = sg.create_features(sg.read_csv(data_fname))
  
          converter = StochasticProximityEmbedding()
          converter.set_target_dim(1)
          converter.set_nupdates(40)
          # Embed with local strategy
          converter.set_k(k)
          converter.set_strategy(SPE_LOCAL)
          features = converter.transform(features)
          # Embed with global strategy
          converter.set_strategy(SPE_GLOBAL)
          features = converter.transform(features)
  
          return features
      except ImportError:
          print("No Eigen3 available")
  
label_desc: Use image node_id 1 for calling a global function with example usage: converter_stochasticproximityembedding(data_fname, k) and returns: features