Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data from predict() does not return as shown #4

Open
themindfactory opened this issue Jan 4, 2022 · 1 comment
Open

data from predict() does not return as shown #4

themindfactory opened this issue Jan 4, 2022 · 1 comment

Comments

@themindfactory
Copy link

In beibo.py in def oracle(): there is a def predict(): find the lines
b = b.split("array([[[")
c = b[1].split("]]])")
d = c[0][ : -3]

I had to change them to d = b.split('\n')[1].split(' ')[1] for some reason the output of the model.predict() was not of the format it expected...

@themindfactory
Copy link
Author

Here is how it looks from pred

                  0

2021-12-31 1070.339966
2022-01-01 1070.339966
2022-01-02 1070.339966
2022-01-03 1070.339966
2022-01-04 1070.339966
2022-01-05 1070.339966
2022-01-06 1070.339966
2022-01-07 1070.339966
2022-01-08 1070.339966
2022-01-09 1070.339966
2022-01-10 1070.339966
2022-01-11 1070.339966
2022-01-12 1070.339966
2022-01-13 1070.339966
2022-01-14 1070.339966
2022-01-15 1070.339966
2022-01-16 1070.339966
2022-01-17 1070.339966
2022-01-18 1070.339966
2022-01-19 1070.339966
2022-01-20 1070.339966
2022-01-21 1070.339966
2022-01-22 1070.339966
2022-01-23 1070.339966
2022-01-24 1070.339966
2022-01-25 1070.339966
2022-01-26 1070.339966
2022-01-27 1070.339966
2022-01-28 1070.339966
2022-01-29 1070.339966
Freq: D

Repository owner deleted a comment Jan 13, 2024
Repository owner deleted a comment from nozelle Jan 13, 2024
Repository owner deleted a comment from Blue-pill-786 Feb 23, 2024
@github-staff github-staff deleted a comment Apr 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant