[Error in training Max Margin Markov Net]

8 views
Skip to first unread message

Ehsan

unread,
Nov 28, 2015, 11:06:04 PM11/28/15
to pystruct




Hi There,


I am trying to use letter example on my own data. I checked the x_train and y_train to be in the same format as letter example. But I got the following error. Any suggestion?


My Y's are sequences of 0 and 1's and the length of each y is almost 200.


Thank you in advance,

Ehsan





Ehsan

unread,
Nov 28, 2015, 11:26:17 PM11/28/15
to pystruct
I just figure it out:

 The data type for labels should be "np.int64", mine was float64.

Andy

unread,
Dec 5, 2015, 6:00:24 PM12/5/15
to pyst...@googlegroups.com
glad you got it to work!
--
You received this message because you are subscribed to the Google Groups "pystruct" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pystruct+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages