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 ?
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.
my question is about R programming language in training a Deep Learning Model using h2o package...
in training deep learning we have hidden layers how can i select it based on what ?
R Programming language Write a function as: y=sin(x) and plot this function using two ways. The range is from [-pi, pi]. ( in R Programming language)
Please Use R programming language to answers these question and please show me the code as well. Thank You 1. Problem: dataset: savings; package : faraway Use R, perform the calculations and answer the following questions (a) Calculate the design matrix X, and all regression coefficients estimates, as shown in (3). (b) Calculate the Residuals standard error , as in (5). (c) ANOVA table: Calculate SST, SSE, SSR, ?2, as in (6). Calculate the ANOVA F-statistic and p-value. (d)...
Question about deep learning: 1. What should I do for the preprocessing of a multi-label classification & detection algorithm? 2. What is the commonly used pre-trained model for the use of multi-label classification & detection?
R Programming Language This question uses the lattice package. Show the code you used to generate the graphs. Use the state.region and state.x77 data set (recall typing ?state.x77 into the console will provide a discription of this data set). Question 1a Investigate the population density of USA states within the four regions: Northeast, South, North Central and West. Observe the graph of State Population as a Function of Area. Create Figure 1. Question 1b There is one state in the...
This problem uses the Wage dataset in ISLR package in R n this part of the problem, we will find a polynomial function of age that best fits the wage data. For each polynomial function between p = 0, 1, 2, ...10: i. Fit a linear regression to predict wages as a function of age, age2, ... agep (you should include an intercept as well). Note that p = 0 model is an “intercept-only” model ii. Use 5-fold cross validation...
The following question is based on Python programming language. Consider the function open(). a) What does open() open? b) What is the difference in possible actions you can take using the object returned by open() if you pass the argument 'r', 'w', or 'a'?
2. R programming 2·The data set prostate in the faraway package is froma study on 97 men with prostate cancer who were due to receive a radical prostatectomy We are interest is in predicting lpsa (log prostate specific antigen) with Icavol (log cancer volume). (a) Draw a scatterplot -does a simple linear regression model seem reasonable? (b) Without using the R function Im), compute the values T,Y, Sxx, Syy and Sxy. Com- pute the ordinary least squares estimates of the...
hello this is about linear regression i want answer the question using R write the results and command of R A marketing researcher studied annual sales of a product that had been introduced 10 years ago. The data are as follows, where X is the year (coded) and Y is sales in thousands 1 VI X;: 2 135 3 162 4 178 5 221 6 232 5 7 283 6 8 306 7 9 374 8 10 395 9 98...
Question 1 The following function header represents which programming language? double calc_weekly_pay( double hours_worked, double pay_rate) Question 1 options: Python A C-based language FORTRAN COBOL Question 2 One of my favorite quotes from Jeanette Wind is "Computational thinking is using abstraction and decomposition when attacking a large complex task or designing a large complex system." This supports using _____________ when developing programs. Question 2 options: Repetition structures Assignment statements Selection structures Functions Question 3 The following assignment statement exhibits which...