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

On random forest function #6

Open
apfuentes opened this issue Mar 8, 2019 · 1 comment
Open

On random forest function #6

apfuentes opened this issue Mar 8, 2019 · 1 comment

Comments

@apfuentes
Copy link

Hi Alex,
Thanks for developing this package!

When using the random forest function the parameter "y" needs to be set to a factor for classification, other wise regression is performed. I was wondering if in the R script of assign.MC.R the input "y" is set to a factor. After a quick look at this function, it does not seem to be but maybe I am wrong, I just wanted to confirm.

Also, is there an easy way to obtain MSE (mean standard error) and MDA (mean decrease in accuracy) from the random forest simulations? I am asking because from them we can determine the optimal number of trees (ntree).

Thanks

@alexkychen
Copy link
Owner

Hi, Sorry for the late response. Thanks for bringing that up. I will take a look at this issue, but it may take a while. If you happen to know how to modify the script or have already solved the issue by yourself, please let me know. I am will be more than happy to add a contributor.

Thanks!

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