The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

How can I apply SMOTE for multi-class Classification of NSL-KDD data set in RapidMiner?

YeshSWJTUYeshSWJTU Member Posts: 3 Learner I
edited May 2020 in Help
I am working on feature selection in  Network Intrusion Detection System (NIDS) using  NSL-KDD
data set.
How can I apply SMOTE for multi-class Classification of NSL-KDD data set in RapidMiner?

In NSL-KDD data set, there are five classes Normal, DoS, Probe, U2R and R2L. But the classes are extremely imbalanced specially U2R and R2L. I am trying to balance this data set using SMOTE and to dynamically balance the data set. But i am getting problem to solve using rapid miner. I can apply SMOTE using WEKA but, i need to balance dynamically using RapidMiner. I need your help Thank you

Answers

  • Telcontar120Telcontar120 RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    There is a SMOTE Upsampling operator for RapidMiner in the Operator Toolbox, which you will need to install from the extension marketplace (it is free).  You might also consider using weighting instead of upsampling depending on the ML algorithm you intend to use.  There are several suitable weighting operators available in the base Studio installation.
    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
  • YeshSWJTUYeshSWJTU Member Posts: 3 Learner I
    edited May 2020
    Telcontar120 Thank you for your response. I tried SMOTE Upsampling  but it is not supporting to balance multiple minority classes. It works  for binary classification. I will check the weighting operators if it works. thank you
  • MartinLiebigMartinLiebig Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,533 RM Data Scientist
    Hi @YeshSWJTU,
    did you try to set the minority class manually in SMOTE?

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • YeshSWJTUYeshSWJTU Member Posts: 3 Learner I
    mschmitz  I tried to set manually but neither it detect the minority class automatically nor it works manually (for binary classification). There is no option for multiple minority classes. Thank you!
Sign In or Register to comment.