-
Notifications
You must be signed in to change notification settings - Fork 363
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SW-449] Support for Sparse Vectors and Upgrade to H2O 3.14.0.2 #334
Conversation
4391a0b
to
cf0c508
Compare
Still some tests are failing on external cluster. I will fix them tonight or tomorrow at last, but getting to the final state. Benchmarks seems to be in favour of this change |
440547c
to
2f40a54
Compare
Ready for review, this is final state |
@mmalohlava |
cff47f6
to
d8b872a
Compare
d8b872a
to
eb00021
Compare
ExternalFrameUtils.EXPECTED_STRING | ||
} else if (clazz == classOf[java.sql.Timestamp]) { | ||
ExternalFrameUtils.EXPECTED_TIMESTAMP | ||
} else if (clazz == classOf[org.apache.spark.mllib.linalg.Vector]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future: what about about org.apache.spark.ml.linalg.Vector
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oki, found it, you are doing Vectors.toML(..) coversion before.
Right now blocked by: |
a536d95
to
484b135
Compare
Upgrade of H2O to 3.14.0.2
- More tests for RDD[Vector] - Missing header - Add automl into assembly - More tests. - Align test data to given lenght - More testing and testing and testing - Enable assertions for H2O launched for external model cluster tests
8b5d1f5
to
0a5fbef
Compare
SparkDataFrameConverter refactored. Now we first create flat dataframe in spark to simplify handling on sw side.
The refactoring was needed in order to separate handling of vectors.
An improvement of this solution would be to drop the flag whether the vector is sparse or dense and make it part of the expected types
This change requires h2oai/h2o-3#1348