Indexerror When Fitting Ssvm Model In Pystruct
I'm using the pystruct Python module for a structured learning problem in classifying posts in discussion threads, and I've run into an issue when tying to train the OneSlackSSVM f
Solution 1:
I think everything you are doing is right, this is https://github.com/pystruct/pystruct/issues/114. Your labels y need to start from 0 to n_labels. I think yours start at 1.
Post a Comment for "Indexerror When Fitting Ssvm Model In Pystruct"