Skip to content

ChainCRF , NSlackSSVM - Tuple index out of range #232

@samieti02

Description

@samieti02

Hello my dear people,

I have some troubles runninng the code

model = ChainCRF()
ssvm = OneSlackSSVM(model=model, C=.1)
ssvm.fit(X_train, Y_train)

where X_train is an array with the shape (70000 , 1)
and Y_train is another array with shape (70000, )

I always get the error , tuple index out of range
And I tried different variants of the shape, I also transformed array in tuple, but it didnt help.
Can you explain us how it work with the shape of arrays ?

Thanks Sir

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions