You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been trying to figure out what xgboostExplainer does under the hood and came across something strange (to my eyes anyway) when looking at the definition of findLeaves.R.
I can't work out:
why findLeaves() is used in the definition of findLeaves() (see line11)
how you can have three parameters of findLeaves() (see line 11) when it only has two by the definition being created. What does the with = FALSE part do?
Any help with either of these queries would be really appreciated!
The text was updated successfully, but these errors were encountered:
This is called a recursive function. They are useful for searching data structures with a lot of branches, such as a decision tree. There's nothing wrong with this approach although I don't know enough about this stuff to comment whether it could be improved.
I have been trying to figure out what xgboostExplainer does under the hood and came across something strange (to my eyes anyway) when looking at the definition of findLeaves.R.
I can't work out:
with = FALSE
part do?Any help with either of these queries would be really appreciated!
The text was updated successfully, but these errors were encountered: