Giter VIP home page Giter VIP logo

horses-races-prediction's People

Contributors

benjamrio avatar

Watchers

 avatar

Forkers

piercus

horses-races-prediction's Issues

./bin/augment_race_music.py - Output format

Scenario

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

Actual

A file is created with the name tmp/2018-races-augmented/test containing all the historical data of the race

Expected

  • tmp/2018-races-augmented/test should be used as a folder
  • 1355 files should be saved in the output folder
  • the output names should be the same as input names
  • the output should be json files with an additional key: partants[index].augmentedMusique[indexMusique]
  • Each musique can be written in json object like {position: 1, date:'2018-12-20 19:15:00', price: 6000 }

Force chronological order when retrieving one horse's historic

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.

Investigate missing values of horse genyId

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, ...).

Normalization technic for result position.

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).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.