Skip to content
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

Introducing Additional Variables into the GBM Model #15

Open
bakioy opened this issue Mar 23, 2020 · 3 comments
Open

Introducing Additional Variables into the GBM Model #15

bakioy opened this issue Mar 23, 2020 · 3 comments

Comments

@bakioy
Copy link

bakioy commented Mar 23, 2020

I'm having an issue conducting multivariable GBM analysis. I tried to return a gbm_baseline object using my project's file location and variables (ie. "Temp" & "RH") as demonstrated on the User Guide. However, this doesn't do anything. I tried typing out the block and noticed that pred_path and c() aren't callable functions. I was wondering if there was a package I need to install or if there was another method to conduct multivariable GBM analysis. A working demonstration would be very helpful. Thanks.

@samirtouzani
Copy link
Collaborator

Can you publish your script and your data structure.
c() is the way you define a vector in R. If you have Temp and RH as parameters you want to do the following:
variables = c("Temp","tow","RH")
pred_path is the variable defining the prediction file path it is not a function

@bakioy
Copy link
Author

bakioy commented Mar 26, 2020 via email

@samirtouzani
Copy link
Collaborator

Hi Brandon,
You should past your code into the console without running the GUI.
Don't forget to load the RMV2.0 library. This can be done by running:

library(RMV2.0)

Also you can just use the GUI to train the model. By default GBM model will include any additional input parameter (i.e., additional column in your data). If in your data you have "time","eload","Temp","Occ" as columns you are good to go!!

I hope this will resolve your problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants