Skip to content

How to prepare data for predictionESN? #16

@jollydragon

Description

@jollydragon

My question is how to regulate the dimensions of "x_train", "y_train" and "x_test" for predictionnESN? They all should be numpy arries, correct? Should all the 3 arries be 2 dimensions? Shall the 2nd dimension only be "1"?

In my code, I reshaped both "x_train", "y_train" into (100, 1). But got the error message "ValueError: cannot reshape array of size 0 into shape (0,newaxis)" while fitting it.

I'm frustrated to resolve this issue after searching the internet as it looks like no other people has the issue. It's appreciated if you(Mr. Zimmerrol) can share some light.

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