When I change the input file (by default: sample_svm_data.txt ), on the other hand also containing numeric attributes separated by spaces, the following error occurs:
File "/usr/local/spark/python/lib/pyspark.zip/pyspark/mllib/util.py", line 53, in _parse_libsvm_line index, value = items [1 + i] .split (":") ValueError: need more than 1 value to unpack
What can it be?
The algorithm in python is running using Apache Spark , just like this example , the only change being the input file.