Re: [R] all the MAE metric values are missing (Error message)

2019-12-22 Thread Jim Lemon
Hi Neha, Well, that's a clue to why you are getting NAs: log10(0) [1] -Inf Another possibility is that the values used in the initial calculation have been read in as factors. Jim On Mon, Dec 23, 2019 at 10:55 AM Neha gupta wrote: > > Hi Jim > > The objective function is passed to san_res wher

Re: [R] all the MAE metric values are missing (Error message)

2019-12-22 Thread Neha gupta
Hi Jim The objective function is passed to san_res where we have defined the 4 parameters of gbm and the values are initialized in san_res. The output variable price has only three values: 0, 1, 2 (like categorical values), so someone told me try to remove the log10 from the price. I am not sure

Re: [R] R API Call Failure Help

2019-12-22 Thread Bert Gunter
I think this is the wrong list. Shiny is an RStudio app and is not part of R. You need to post on the RStudio site. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )

[R] R API Call Failure Help

2019-12-22 Thread Vinish Vishwanathan
Hello All, I just subscribed to this mail list and needed some help on an ongoing issue with details stated below Issue: An API call from R Shiny App to a server in Cloud fails with error: Error:* SSL read: error::lib(0):func(0):reason(0), errno 110 * Connection died, retrying a fresh

Re: [R] all the MAE metric values are missing (Error message)

2019-12-22 Thread Jim Lemon
Hi Neha, The error message looks suspicious, as it refers to "all the MAEs" while there is only one NA value in the summary. I would carefully check the object that you are passing to san_res. Jim On Mon, Dec 23, 2019 at 4:17 AM Neha gupta wrote: > > I am using the following code to tune the 4 p

Re: [R] all the MAE metric values are missing (Error message)

2019-12-22 Thread David Winsemius
You need to read the Posting Guide (and study the options of the gmail interface). This is a plain text mailing list and the server does not accept attachments that are anything other than .txt or .pdf files. -- David. On 12/22/19 9:15 AM, Neha gupta wrote: I am using the following code to

[R] all the MAE metric values are missing (Error message)

2019-12-22 Thread Neha gupta
I am using the following code to tune the 4 parameters of Gradient Boosting algorithm using Simulated annealing (optim). When I run the program, after few seconds it stops and displays the following error: I point out here that the same code works for RF ( mtry parameter) and SVM (cost and sigma p