Skip to content

Pipelines for developing an intelligent scoring model & applying to incoming competition data

Notifications You must be signed in to change notification settings

LeverForChange/competition-scoring-pipeline

Repository files navigation

General Instructions

  1. Run pip3 install -e .. If you expect dependency conflicts to arise, it may be wise to activate a Python virtual environment first.
  2. The NLP tasks require some external datasets to be downloaded on the local machine.

Setup config file

cp config.py.tmpl config.py

And then edit it, filling in the various parts that you are using. The TRAINING sections should be used for GlobalView, while the SCORING sections are for the specific competition.

Competition Scoring Pipeline

Example command: python scoringPipeline.py /path/to/model.joblib

The scoring pipeline will apply the trained model to predict judge scores for a given set of scoring data.

The first argument is the name of the model file to run score the input proposals with.

Model Building (Training) Pipeline

Example command: python trainingPipeline.py /path/to/model.joblib

You may want to re-train the model for a number of reasons - adding new fields, changing parameters, tweaking the NLP approach, or simply because new proposals/cleaned/refactored data have been entered into Torque. This pipeline will build the pipeline needed for predicting intelligent scores for LFC competitions.

Using from other python code

Look at ./trainingPipeline.py and ./scoringPipeline.py to see how they build up a torque instance and call into the module.

About

Pipelines for developing an intelligent scoring model & applying to incoming competition data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages