-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Error in to_data_frame() when feeding numpy matrix as label #100
Comments
@maxpumperla |
@davidariel this is a difficult one. If you look at the implementation, @EvanZ is right about the root cause: Lines 9 to 23 in db8147c
We go through
which also assume that there is a single column corresponding to labels. This puts us in a tough spot for using SparkML interfaces. OK, let's have a look at something simpler, namely elephas/elephas/utils/rdd_utils.py Line 38 in db8147c
Labels could be a matrix there as well. And here you see how this is reflected in Spark workers: https://github.com/maxpumperla/elephas/blob/master/elephas/worker.py#L37 Something that's much more feasible right now is to support multi-in/out for the basic case that I'd really appreciate some help with. See here: #16 |
I am trying to reproduce the basic autoencoder example from the Keras blog:
https://blog.keras.io/building-autoencoders-in-keras.html
This generates an error, which I believe is due to the label only being accepted as input if it is a scalar array, not a matrix of vectors:
The text was updated successfully, but these errors were encountered: