Automatic sampling_type in Split Operator

HeikoeWin786HeikoeWin786 MemberPosts:64Contributor II
edited August 2020 inHelp
Hello all,

Just one quick question if anyone has any idea on this.
For the Automatic sampling_type in Split Operator, it is said that it will use stratified sampling if the label is nominal, shuffled sampling otherwise.
What if the label is polynominal? It will be used stratified sampling?
Because I have imbalanced classes and I want to split the data as split 1: 75-25, then again split that 75 from split 1 into 75-25 an split 2.
I will save the model from split 2 and input the 25 from the split 1 as the unseen data to test the model.

thanks and regards,
Heikoe
Tagged:

Best Answer

  • hbajpaihbajpai MemberPosts:102Unicorn
    Solution Accepted
    @HeikoeWin786

    分离数据健壮的分裂more than 2 classes in a stratified manner, as long as you have non-numeric label. Also, I would recommend you try Cross Validation on your split 1 if possible and then use the 25% remaining data as your test(unseen) data. You might not need further splits in that case. Though, CV can take be compute and time intensive, but it is generally worth it.

    There was a goodthreadon this in past as well.
    Best,
    Harshit
    lionelderkrikor HeikoeWin786
    Sign InorRegisterto comment.