-
- Downloads
[SPARK-7426] [MLLIB] [ML] Updated Attribute.fromStructField to allow any NumericType.
Updated `Attribute.fromStructField` to allow any `NumericType`, rather than just `DoubleType`, and added unit tests for a few of the other NumericTypes. Author: Mike Dusenberry <dusenberrymw@gmail.com> Closes #6540 from dusenberrymw/SPARK-7426_AttributeFactory.fromStructField_Should_Allow_NumericTypes and squashes the following commits: 87fecb3 [Mike Dusenberry] Updated Attribute.fromStructField to allow any NumericType, rather than just DoubleType, and added unit tests for a few of the other NumericTypes.
Showing
- mllib/src/main/scala/org/apache/spark/ml/attribute/attributes.scala 2 additions, 2 deletions...main/scala/org/apache/spark/ml/attribute/attributes.scala
- mllib/src/test/scala/org/apache/spark/ml/attribute/AttributeSuite.scala 5 additions, 0 deletions.../scala/org/apache/spark/ml/attribute/AttributeSuite.scala
Please register or sign in to comment