Discussion on Class Imbalance Problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Discussion on Class Imbalance Problem

TalhaMahboob
What is Cost-sensitive learning method is the perspective of class
imbalance.?
How a Cost-sensitive learning method is good to solve class imbalance
problems instead of sampling techniques.?



--
Sent from: https://weka.8497.n7.nabble.com/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to: To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
Reply | Threaded
Open this post in threaded view
|

Re: Discussion on Class Imbalance Problem

Peter Reutemann
> What is Cost-sensitive learning method is the perspective of class
> imbalance.?
> How a Cost-sensitive learning method is good to solve class imbalance
> problems instead of sampling techniques.?

If the selected base classifier can handle instance weights, then the
rows in the dataset get reweighted according to the cost matrix before
training the base classifier. This allows you to put more importance
on instances from your minority class.
If the base classifier shouldn't handle instance weights, then
resampling according to the cost matrix is performed before training
the base classifier.

See buildClassifier method:
https://svn.cms.waikato.ac.nz/svn/weka/trunk/weka/src/main/java/weka/classifiers/meta/CostSensitiveClassifier.java

Cheers, Peter
--
Peter Reutemann
Dept. of Computer Science
University of Waikato, NZ
+64 (7) 858-5174
http://www.cms.waikato.ac.nz/~fracpete/
http://www.data-mining.co.nz/
_______________________________________________
Wekalist mailing list -- [hidden email]
Send posts to: To unsubscribe send an email to [hidden email]
To subscribe, unsubscribe, etc., visit
https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html