problems with class weight dict

Follow the full discussion on Reddit.
i am training on dataset which has three classes :class, sum of labels0, 31321, 492-1, 12as you can see there is huge unbalance here so wanted to fix it using class weights (maybe there is better way). So i created dict:{-1: 85.27777777777777,0: 0.3919315715562364,1: 2.2893363161819535}

Comments

There's unfortunately not much to read here yet...

Discover the Best of Machine Learning.

Ever having issues keeping up with everything that's going on in Machine Learning? That's where we help. We're sending out a weekly digest, highlighting the Best of Machine Learning.

Join over 900 Machine Learning Engineers receiving our weekly digest.

Best of Machine LearningBest of Machine Learning

Discover the best guides, books, papers and news in Machine Learning, once per week.

Twitter