bukosabino / btctrading

Time Series Forecast with Bitcoin value, to detect upward/down trends with Machine Learning Algorithms
MIT License
155 stars 46 forks source link

Run via CLI? #9

Closed imkane closed 7 years ago

imkane commented 7 years ago

Thanks for this project, looks great!

Is there a way to run this only from Linux CLI?

I'm seeing: [W 17:23:08.101 NotebookApp] No web browser found: could not locate runnable browser.

bukosabino commented 7 years ago

Hi @imkane ,

You can copy & paste the code in the ipynb file: https://github.com/bukosabino/btctrading/blob/master/XGBoost.ipynb in a new file python, xgboost.py for example.

Then you run with:

python xgboost.py

imkane commented 7 years ago

Thank you! I'm new to Python :(

FYI for any other newbies, I ran: jupyter nbconvert --to script 'XGBoost.ipynb'

To convert the JSON notebook file to a Python script.