create account

RE: Soccer Predictions using Python (part 4) by precise

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @stevencurrie/soccer-predictions-using-python-part-4

· @precise ·
I like what you've done here. I was able to run your code. Do you mind if i 
 use and test it? I can see where improvements can be done. Great job! 

By the way, an easier to install dependencies is to store them in a file for example **requirement.txt** then place these lines inside that file: 

```
pandas
requests
beautifulsoup4
```

you can then install it by 
`
pip install -r requirements.txt
`

you can also specify module versions on **requirements.txt** ie. `pandas=0.20.0`
👍  
properties (23)
authorprecise
permlinkre-stevencurrie-soccer-predictions-using-python-part-4-20170930t034843069z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2017-09-30 03:48:45
last_update2017-09-30 03:48:45
depth1
children1
last_payout2017-10-07 03:48:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length483
author_reputation4,300,224,767,048
root_title"Soccer Predictions using Python (part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,339,109
net_rshares822,104,341
author_curate_reward""
vote details (1)
@stevencurrie ·
Hi, I don't mind at all if you use the code, in fact I welcome it.  It would be great if you could improve it.

There's so much that could be added, making use of the over/under and BTTS predictions, adding over/under predictions for other scores, predictions for handicaps, correct scores, the list goes on.

I've also thought about scraping a list of available countries & competitions and implementing a GUI with some nice graphs comparing each team.

Anyway, feel free to do anything you like with the code.  And if you wanted to, you could post your improvements here on Steem.

Thanks as well for the advice on requirements.txt.  I'll just go and add that now.

Have fun mate.  :-)
properties (22)
authorstevencurrie
permlinkre-precise-re-stevencurrie-soccer-predictions-using-python-part-4-20170930t095231830z
categoryprogramming
json_metadata{"tags":["programming"],"app":"steemit/0.1"}
created2017-09-30 09:52:30
last_update2017-09-30 09:52:30
depth2
children0
last_payout2017-10-07 09:52:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length687
author_reputation7,132,661,654
root_title"Soccer Predictions using Python (part 4)"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id16,361,398
net_rshares0