Package org.apache.spark.ml.linalg
Class JsonVectorConverter
Object
org.apache.spark.ml.linalg.JsonVectorConverter
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JsonVectorConverter
public JsonVectorConverter()
-
-
Method Details
-
fromJson
Parses the JSON representation of a vector into aVector
.- Parameters:
json
- (undocumented)- Returns:
- (undocumented)
-
toJson
Coverts the vector to a JSON string.- Parameters:
v
- (undocumented)- Returns:
- (undocumented)
-