-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
[R-package] callbacks per #892 #1264
Conversation
LGTM, wait @hetong007 for review |
Hi @khotilov, Thanks for the great contribution. I am reading the code, it is a bit long so I will discuss with you tomorrow. It is an important improvement of the R-package, so please also add your name to the author list in DESCRIPTION as well :) |
My thoughts on your questions:
Some comments on the
Another concern is since there are a lot of changes, we might need to mention that to all the users. A new tutorial would be very helpful after these have been merged. |
@hetong007 can you give a list of actionable items so after these are changed we can merge it in? This can help us to merge this change in quicker |
@khotilov If you think my comments above make sense, then the list of actions before we merge it in will be:
I think the above changes makes this commit consistent, and we can merge them in at this point. After the commit, there are several things for us to do:
|
Tong: @khotilov https://github.com/khotilov If you think my comments above make
I think the above changes makes this commit consistent, and we can merge After the commit, there are several things for us to do:
— |
Below are my comments and questions
On the synchronous vs sequential CV... The current synchronous approach has a few downsides:
And what I mean by the "classic CV-based model evaluation" is when models for each fold are built in a very similar fashion as a non-CV model would be built, preventing any possibilities for information leakage between the folds. I understand that pre-packaged CV methods are usually somewhat limited, and I am not a stranger to writing my own custom CV-based workflows. But my hope is that it should be possible to have a fairly generic but simple |
Hi @khotilov , thank you for the explanations. To reply to your comments:
For the CV-related:
Please let me know your thoughts. |
any updates on this thread? |
Last weekend was too hectic for me to get it out, but the actions items from the list are mostly done (except the documentation). I'll get on it tomorrow evening. And I'll open separate issues for CV and parameters later. |
…proper CB order; docs; minor fixes + changes
I've added some more tests and fixed some kinks; |
Hi @khotilov , thanks for the work! I am currently attending the useR! 2016 conference and busying with my slides :P Will review the code asap. |
@hetong007 Let us aim to merge this soon, now that useR has pasted |
@khotilov It seems good to me now. Can you merge the latest version and ping me? Then I will merge it. Thank you! |
@hetong007 the merge has completed |
Merged, thanks. |
Thanks for bring this in @khotilov . As next step, do you mind create a tutorial explaining how this feature can be used for various advanced tasks? We can put it onto the document, as well as the blogpost |
The majority of stuff is working, but some things are raw. The code docs would need some more work, and some changes in how things are handled might be needed (see below and also some TODO markers in the code). I'm pr-ing it mainly to get some feedback.
Note that this coming weekend I would not be able to do any work on all this.
Work notes:
useDynLib
library loading mechanism in place of doing it manually via onLoad/onUnload. That plays better with devtools.List of some things and questions to consider:
predict
instead on the number of trees?