benjamrio / horses-races-prediction Goto Github PK
View Code? Open in Web Editor NEWConstruction of an "augmented" race history in the scope of race result predictions.
Construction of an "augmented" race history in the scope of race result predictions.
python ./bin/augment_race_music.py --input "tmp/2018-races/2018-12-*" --output tmp/2018-races-augmented/test
The script is processing 1355 json files
A file is created with the name tmp/2018-races-augmented/test
containing all the historical data of the race
partants[index].augmentedMusique[indexMusique]
{position: 1, date:'2018-12-20 19:15:00', price: 6000 }
As of now, for each horse, we find all occurrences of his appearance in races, and compute the music in the order of the DataFrame given by the 'groupby(horse.genyId)'. If JSONs files are not chronologically ordered, the augmented music will also not be in chronological order.
For future use, it would be easier and faster to have the augmented music at a certain race directly inside the JSON race file.
Some races have missing horse genyId values, representing less than 1% of the total data. These data cannot be used for augmenting the music. It would be interesting to see if we could retrieve the horse identity with other attributes (canal turf id, name, ...).
As of now, a horse result position appears as it is in augmented music. It doesn't take into account how many horses starting the race, therefore being biased depending on the size of the race.
Also, the filling for disqualified or non-arriving horses seems a bit odd (as of now, we attribute 10th place for such a performance).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.