-
Notifications
You must be signed in to change notification settings - Fork 15
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
Does FSelectorRcpp produce the same results as FSelector? #51
Comments
For some functions - yes - see e.g. https://github.com/mi2-warsaw/FSelectorRcpp/blob/master/tests/testthat/test-information_gain.R This is part of the code:
For other functions please send us a list of functionalities which must be checked against FSelector, and then we will prepare required tests to convince you that everything is fine:) |
I'd love to see tests for all of the functions that users can call, ideally on a range of different inputs. Maybe using quickcheck (https://github.com/RevolutionAnalytics/quickcheck)? |
Oh and once I'm convinced I'm willing to officially deprecate FSelector in favour of FSelectorRcpp. |
Ok. We will work on this. Thanks! |
@zzawadz another amazing challenge for FSelectorRcpp : ) Maybe it'll be the easiest way to include FSelectorRcpp in the FSelector |
@MarcinKosinski |
Sounds good. Pull requests welcome! |
So this can be closed - #27 : ) @larskotthoff is aware of that we will suggest inner implementation |
Getting back to this thread. To enable
2 tasks should be finished then
|
Hi, I am struggling to get the same results from FSelectorRcpp and FSelector - posted under this issue: mlr-org/mlr#1677 (comment). |
FSelectorRcpp treats integer columns like factors, not numeric, and because of that, it does not discretize them before calculating the information gain. You need to cast the integers columns into numerics to get the same result: See the code below:
|
Thanks for helping with this so quickly! |
Kudos for Zzawadz
pt., 19 paź 2018, 10:34 użytkownik RandomGuessR <[email protected]>
napisał:
… Thanks for helping with this so quickly!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#51 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AGdazkRXSO22dOfoPnz52ZiKuTYusGvSks5umY6kgaJpZM4MdpFY>
.
|
I found an inconsistent behavior in FSelectorRcpp:( The |
Thanks @zzawadz. After changing the data from integer to numeric, FSelectorRcpp works like a treat; really happy with the performance. |
We (I should say me) decided that
|
Do you guys have any tests to check this? We're thinking of replacing FSelector with FSelectorRcpp in mlr, but we'd like to be sure that we remain reproducible.
@berndbischl
The text was updated successfully, but these errors were encountered: