code: def test_lp_to_simple_rdd_not_categorical(spark_context):
      features = np.ones((2, 10))
      labels = np.asarray([[2.0], [1.0]]).reshape((2,))
      lp_rdd = rdd_utils.to_labeled_point(
          spark_context, features, labels, False
      )
  
      rdd = rdd_utils.lp_to_simple_rdd(
          lp_rdd, categorical=False, nb_classes=3
      )
      assert rdd.first()[0].shape == (10,)
      assert rdd.first()[1] == 2.0
  
file_path: elephas/tests/utils/test_rdd_utils.py
imports: import numpy
  from elephas.utils import rdd_utils
label_desc: Use image node_id 8 for calling a global function with example usage: test_lp_to_simple_rdd_not_categorical(spark_context) without return types