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

Write script to classify CSV data #1

Open
kenorb opened this issue Nov 27, 2017 · 0 comments
Open

Write script to classify CSV data #1

kenorb opened this issue Nov 27, 2017 · 0 comments

Comments

@kenorb
Copy link
Member

kenorb commented Nov 27, 2017

File: train_zigzag.py

The goal is to write a Python script using scikit-learn library to classify and predict pattern generated by gen_zigzag.py (for M1 and M5).

We likely need to create target datasets for 1 and 5 minutes and train the data whether the value will go up and down for the next 1 or 5 minutes.

Input data should be loaded from data.csv which is generated by gen_zigzag.py.

Refs:

Notes:

  • you can see the generated data.csv plot by the following shell command:

    gnuplot -p -e "set datafile separator ','; plot 'data.csv' using 1 title 'value' with lines, 'data.csv' using 2 title 'avg10' with lines, 'data.csv' using 3 title 'avg50' with lines"
    

Est. 16-40h

@FX31337 FX31337 deleted a comment from adcentury Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants