to_vector
elephas.mllib.adapter.to_vector(np_array: <built-in function array>)
Convert numpy array to MLlib Vector
from_matrix
elephas.mllib.adapter.from_matrix(matrix: pyspark.mllib.linalg.Matrix)
Convert MLlib Matrix to numpy array
to_matrix
elephas.mllib.adapter.to_matrix(np_array: <built-in function array>)
Convert numpy array to MLlib Matrix
from_vector
elephas.mllib.adapter.from_vector(vector: pyspark.mllib.linalg.Vector)
Convert MLlib Vector to numpy array