Question

my question is about R programming language in training a Deep Learning Model using h2o package...

my question is about R programming language

in training a Deep Learning Model using h2o package

h2o.deeplearning(x = , y = )

what X and Y refer to and how to select their value based on what ?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

x is a vector containing either the names or the indices of the data.

Whatever we need to train the model, we mention the indices of that data in x as a vector.

If x is not mentioned, then all the indices in the data are taken in x accept for y.

y is the name or column index for the response variable(the index of the output).

For eg, you have a dataset with 10 columns but you need to train it on only 5 columns so you make a vector:

x = c(1, 2, 3, 4, 5).

Let the output index be 9, so y = 9.

Hope this helps.

Please rate the answer if you like it.

Do leave a comment.Any suggestion/query is much appreciated.

Add a comment
Know the answer?
Add Answer to:
my question is about R programming language in training a Deep Learning Model using h2o package...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT