char-cnn-text-classification-pytorch icon indicating copy to clipboard operation
char-cnn-text-classification-pytorch copied to clipboard

Update to getClassWeight()

Open rmunro opened this issue 5 years ago • 1 comments

https://github.com/srviest/char-cnn-text-classification-pytorch/blob/f269894ad40ef4d716b76b24db20379f102cae37/test.py#L44

This line should call getClassWeight() It currently calls the deprecated name for the function get_class_weight()

rmunro avatar Jun 05 '20 20:06 rmunro

@rmunro Feel free to send PR, thanks!

srviest avatar Jun 07 '20 18:06 srviest