Skip to content

Commit

Permalink
competition
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Sep 10, 2017
1 parent cb1cd0e commit dcc49c6
Show file tree
Hide file tree
Showing 14 changed files with 10,541 additions and 0 deletions.
10,095 changes: 10,095 additions & 0 deletions _doc/competitions/2017_IA_hackathon/competition/answer.txt

Large diffs are not rendered by default.

Binary file not shown.
7 changes: 7 additions & 0 deletions _doc/competitions/2017_IA_hackathon/competition/check.py
@@ -0,0 +1,7 @@
import sys
sys.path.append("program")
import evaluate
evaluate.private_codalab_wrapper_multi_classification(evaluate.AUC_multi_multi,
["orientation"],
".", r".",
"truth.txt", "answer.txt", use_print=True)
89 changes: 89 additions & 0 deletions _doc/competitions/2017_IA_hackathon/competition/competition.yaml
@@ -0,0 +1,89 @@
# Build an example competition
---
# The title of the competition
title: Hackathon Institut des Actuaires
# A description of the competition
description: Evaluation d'un dossier d'une personne en difficulté financière
# Does this competition require participant approval by the organizer
has_registration: True
# When is this competition finished. It is valid to not include an end_date, which means the competition remains open perpetually.
end_date: 2017-09-12
# You can specify admins here, use their codalab username (CaSe sensitive!) they will automatically be added as participants
#Don't remove the comments here, codalab is bugged, change the value from the website
# admin_names: ds-anne,xavierdupre
# Each competition has a set of html pages for potential participants to read and review and for participants to use to interact with the competition. These are the specifications for those pages.
html:
# Basic overview (first impression) of the challenge
overview: overview.html
# What are the metrics being used for this challenge, how is it being scored.
evaluation: evaluation.html
# Terms of participation, including data licensing, results submission, et al
terms: terms_and_conditions.html
# Where to find the data, how to download it.
data: data.html
# An extra page
#page_name: extra.html
# Competitions are broken up into phases. Every competition has at least one phase, some have multiple phases.
phases:
# Phase 1
1:
# Phase number for ordering
phasenumber: 1
# Label or name of this phase
label: "Challenge"
# When this phase starts - this is the first date participants can download the data and submit results
start_date: 2017-09-11
# Maximum number of submissions per participant
max_submissions: 1000
# A bundle containing the program used to evaluate results.
scoring_program: program.zip
# A bundle containing reference data to compare submitted data with for scoring.
reference_data: reference.zip
# You can select from these colors:
# white, orange, yellow, green, blue, purple
color: orange
# Maximum execution time of the submission (in seconds), default = 300
execution_time_limit: 3000
# Maximum number of submissions a user can make in a day. default = unlimited
max_submissions_per_day: 1000
# The datasets used for this phase, all references are URLs to externally stored data
datasets:
# The first data set
1:
# Uniquely :) named
name: apprentissage (X,Y) et test (X)
# A url to the data
url: http://www.xavierdupre.fr/app/ensae_projects/helpsphinx/projects/hackathon_2016.html
# A brief description to indicate the contents of the data for users
description: fournies par les organisations du hackathon
# Leaderboard / Scoreboard configuration
leaderboard:
# Collections of scores, ways to slice multi-dimensional scores into "groups"
# This leaderboard has one result, the difference (difference of the submitted number from Pi)
leaderboards:
# The internal key name for the overall results group
RESULTS: &RESULTS
# Label for this group
label: Results
# Ordering of the groups, starts at 1
rank: 1
# Actual scores in the leaderboard
columns:
# The internal key for this score
orientation_ERR:
# This is a member of the results group
leaderboard: *RESULTS
# The column label for this score
label: orientation_ERR
# Order of the scores
rank: 2
numeric_format: 4
# The internal key for this score
orientation_AUC:
# This is a member of the results group
leaderboard: *RESULTS
# The column label for this score
label: orientation_AUC
# Order of the scores
rank: 1
numeric_format: 4
14 changes: 14 additions & 0 deletions _doc/competitions/2017_IA_hackathon/competition/data.html
@@ -0,0 +1,14 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>HackGenius 16</title>
</head>
<body>
<p>
Les données pour la compétition sont fournies par les organisateurs du hackathon.
</p>


</body>
</html>
Binary file not shown.
31 changes: 31 additions & 0 deletions _doc/competitions/2017_IA_hackathon/competition/evaluation.html
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Institut des Actuaires - Hackathon - Evaluation</title>
</head>
<body>
<div class="tab-pane" id="brief72"><h3>Critère de performance</h3>
<div>La métrique utilisée pour mesurer la précision du modèle est
<span style="font-weight: bold; font-style: italic;">AUC (Area under the curve)</span></div>
<div><a href="https://en.wikipedia.org/wiki/Receiver_operating_characteristic#Area_under_the_curve">Area under the curve</a><br></div>
<p>
L'AUC est calculée avec le code suivant :
<a href="http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx3/ensae_teaching_cs/ml/competitions.html?highlight=auc#ensae_teaching_cs.ml.competitions.AUC">AUC</a>.
</p>
<h3>Format du fichier à fournir</h3>
<p>Le fichier que doit fournir le candidat est un fichier <b>answer.txt</b>
avec une colonne qui contienne la nature.
Exemple :
</p>
<pre>
surendettement
...
</pre>
<p>
Le fichier est soumis à Codalab après qu'il a été zippé.
Exemple : <a href="https://github.com/sdpython/ensae_projects/raw/master/_doc/competitions/2017_IA_hackathon/competition/answer.zip">answer.zip</a>.
</p>
</div>
</body>
</html>
9 changes: 9 additions & 0 deletions _doc/competitions/2017_IA_hackathon/competition/overview.html
@@ -0,0 +1,9 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="fr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Institut des Actuaires - Hackathon</title>
</head>
<body>
</body>
</html>
Binary file not shown.

0 comments on commit dcc49c6

Please sign in to comment.