Multiple outputs

798 views
Skip to first unread message

eker...@gmail.com

unread,
Sep 3, 2014, 12:07:27 PM9/3/14
to h2os...@googlegroups.com
Algorithms like neural networks can obviously have multiple outputs, can I specify multiple outputs in H2O (e.g. for the deep multilayer perceptron)?

Thank you.

cli...@0xdata.com

unread,
Sep 3, 2014, 12:50:12 PM9/3/14
to h2os...@googlegroups.com, eker...@gmail.com, Arno Candel
Yes; you can train on a dataset with multiple output classes; we've seen Deep Learning do well even with 100 output classes.
Cliff

eker...@gmail.com

unread,
Sep 3, 2014, 1:11:50 PM9/3/14
to h2os...@googlegroups.com, eker...@gmail.com, ar...@0xdata.com
In the web UI there's a select field for "response" and I can choose only 1 option... what am I doing wrong?

eker...@gmail.com

unread,
Sep 4, 2014, 11:00:33 AM9/4/14
to h2os...@googlegroups.com, eker...@gmail.com, ar...@0xdata.com
What I'm trying to accomplish is regression with multiple outputs (specified as multiple columns), but I can't find a way to add multiple "responses". It's not multiclass classification.

Arno Candel

unread,
Sep 4, 2014, 12:07:42 PM9/4/14
to eker...@gmail.com, h2os...@googlegroups.com
Hi,
I see. H2O doesn’t currently support multiple response columns. There was some initial work on this, but the added complexity to the scoring logic would make this somewhat hard to integrate smoothly. You are welcome to make changes to the code, if you’d like, we can point you to the right place(s).
Arno

cli...@0xdata.com

unread,
Sep 4, 2014, 12:37:18 PM9/4/14
to h2os...@googlegroups.com, eker...@gmail.com, ar...@0xdata.com
Right now the only way to do this is to train a new model for each response column.
Cliff

marco....@gmail.com

unread,
Feb 11, 2016, 4:18:35 PM2/11/16
to H2O Open Source Scalable Machine Learning - h2ostream, eker...@gmail.com, ar...@0xdata.com

Hi,

in the web Frontend it is still only possible to have one response. Are there any ways to train multiple response columns? Or am I getting something wrong in the prediction of a multidimensional feature vector?

From some known parameters I want to guess the most probable scenarios of the missing parameters.

Erin LeDell

unread,
Feb 11, 2016, 4:24:51 PM2/11/16
to marco....@gmail.com, H2O Open Source Scalable Machine Learning - h2ostream, eker...@gmail.com, ar...@0xdata.com
You can have multiple response columns in your data frame, but you can
only use one of those columns as a response when you train a model.
This makes it easy to train models with different responses -- you just
have a separate model for each one.

To deselect the additional columns from being used in the training set
in Flow, just click on them in the "Ignore columns" section once you
start the modeling process.

-Erin
--
Erin LeDell Ph.D.
Statistician & Machine Learning Scientist | H2O.ai

marco....@gmail.com

unread,
Feb 12, 2016, 8:51:14 AM2/12/16
to H2O Open Source Scalable Machine Learning - h2ostream, eker...@gmail.com, ar...@0xdata.com

Oh, thanks for that very quick answer! As far as I understand Geoffrey Hinton in his nice videos, Deep Belief Networks should also be working with multiple response - anyway H2O is cool stuff, I wish you the very best!

Greetings
Marco

Aries Fitriawan

unread,
Feb 14, 2016, 10:28:18 AM2/14/16
to H2O Open Source Scalable Machine Learning - h2ostream, eker...@gmail.com
Hello

Currently I'm doing something with h2o in R programming

And also I want to have a multiple output, like y1, y2, .... yn

then I tried something like this

test.dl <- h2o.deeplearning(x = 1:95, y = 96:100, training_frame = train)

then come up with this error message
Error in .h2o.validateModelParameters(algo, param_values, h2oRestApiVersion) : 
  Response column 'c("X96", "X97", "X98", "X99", "X100")' not found in the training frame.

Anyone know what does it means?

thank you

Spencer Aiello

unread,
Feb 15, 2016, 1:37:46 PM2/15/16
to Aries Fitriawan, H2O Open Source Scalable Machine Learning - h2ostream, eker...@gmail.com
H2O algorithms currently support at most one target column. For multiple labels, you'll have to build individual models for target column.
Reply all
Reply to author
Forward
0 new messages