Re: Hivemall ffm classifier and class weights

2019-10-31 Thread Shadi Mari
Hi Makoto, libffm and Xlearn does not support class weights. However ML.NET does! Class weighting is another approach to handle imbalance datasets other than downsampling/oversampling; its a sort of a cost-sensitive learning. I am not sure how SQL will help given than weights

Re: Hivemall ffm classifier and class weights

2019-10-31 Thread Makoto Yui
Hi Mari, Do you have a specific example that does class weighting? libffm does not have such feature. https://github.com/ycjuan/libffm Sckit SGD [1] adjust y as follows: "n_samples / (n_classes * np.bincount(y))" [1]

Hivemall ffm classifier and class weights

2019-10-31 Thread Shadi Mari
Hello I am having extremely imbalanced dataset and trying to find support for class weights in hivemall ffm classifier in specific, however couldnt find any mention in the docs. Is this feature supported, otherwise i had to go with negative downsampling. Please advise Thank you