Comments (5)
Hi, this is a common problem people are reporting. Preidctions.csv is written when you initialize the model with update=True. I put that in the sample code in the readme, but I should probably change the sample code at the bottom of the script so people understand. Thanks!
from nba-prediction.
In model.py you should instantiate the class with update=True. It'll pull down the latest data and generate the right files. You may also need to install a couple packages for R to get it to run correctly
from nba-prediction.
Oh, thanks vladiki, I forgot I used some R packages. I'll add that to the readme.
from nba-prediction.
A requirements.txt file would be great, too!
from nba-prediction.
Yeah, I just pushed the requirements.txt. Not familiar with the idiomatic way to specify which R packages are used though..
from nba-prediction.
Related Issues (12)
- Historical Performance HOT 6
- KeyError when Update=True HOT 5
- TypeError: a bytes-like object is required, not 'str' HOT 1
- FileNotFoundError: [WinError 2]
- predictions.csv is missing HOT 1
- Add unit testing
- great!! so interesting..
- pytest - 404 error
- Somes error
- Calculation used to update pace and OR dataframe values
- Updates to basketball-reference layout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nba-prediction.