work_ensemble_forecast_methods's People
work_ensemble_forecast_methods's Issues
Error in { : task 1 failed - "could not find function "randomForest""
Hi, this code is not running.. whenever I run the demo.r , it shows this error...it also shows the same error for xgboost function as well.. please either tell the procedure how to run this code..or please tell me how to rectify this error...
How to run this program in the present day since you said the package is very behind and without that package it wont work?
Well, I'm sorry for calling you Sir, but I didn't get you actually, what did you mean...? Did you mean that I wont be able to run it directly by using this package? If so, how can I run it then?
And the link you gave me above, I searched for the solution in Google and I saw that thread, but couldn't possibly make any changes to your program using that... It wasn't of any help to me.
Please help me out Sir, I'm in very need of it. And besides, how are you currently going to run this code in your pc? If this package doesn't work for me, then it shouldn't be possibly working for you as well, isn't it? If you want to run it now, how ae you gonna run it on your pc? Share your knowledge with me please if possible.
I fixed it myself
Hi, I fixed all the popping up errors myself with intense study. And, there's no doubt these errors would definitely come for future users as well. So, I'd like you to update the readme of the program by adding these things:
-
change the randomForest() call and xgboost() call at everywhere to randomForest:::randomForest() and xgboost:::xgboost(), that is we are explicitly calling the functions of their respective packages( the reason it shows error is because the program uses different cores for parallel processing which locks the scope of all the other libraries and shows "randomForest() could not be found" and same for xgboost as well.
-
Next, if you are a windows user, comment the quartz() function in every function definition, as this works only for macOS system.
-
Another issue is that, sometimes the RStudio wont change the working directory, so when you update the program, make sure you replace the program at the working directory with the updated one. So double check it before you runs this one.
-
For windows users, the detectCores() function has a slight change, so refer it and change it for proper working of the program.
I hope you understand the value of these issues and make changes in the readme for future users.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.