Package org.apache.spark.mllib.util
Class NumericParser
Object
org.apache.spark.mllib.util.NumericParser
Simple parser for a numeric structure consisting of three types:
 
  - number: a double in Java's floating number format
  - array: an array of numbers stored as [v0,v1,...,vn]
  - tuple: a list of numbers, arrays, or tuples stored as (...)
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
NumericParser
public NumericParser() 
 - 
 - 
Method Details
- 
parse
Parses a string into a Double, an Array[Double], or a Seq[Any]. 
 -