Package org.apache.spark.ml.linalg
Class JsonMatrixConverter
Object
org.apache.spark.ml.linalg.JsonMatrixConverter
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
JsonMatrixConverter
public JsonMatrixConverter()
-
-
Method Details
-
className
Unique class name for identifying JSON object encoded by this class. -
fromJson
Parses the JSON representation of a Matrix into aMatrix
.- Parameters:
json
- (undocumented)- Returns:
- (undocumented)
-
toJson
Coverts the Matrix to a JSON string.- Parameters:
m
- (undocumented)- Returns:
- (undocumented)
-