Skip to content

TypeError: 'int' object is not iterable #125

Description

@JianfengQiao

When run crf.fit(X_train, y_train) during the text classification task, pop up "TypeError: 'int' object is not iterable". X_train is the float array(Tfidf), y_train (series) is corresponding labels.

https://stackoverflow.com/questions/56285456/typeerror-numpy-int32-object-is-not-iterable-error-while-using-sklearn-crfs

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions