-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalc_predicted_weights_schema.yml
104 lines (102 loc) · 2.48 KB
/
calc_predicted_weights_schema.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
## Schema for TBA AIM data pulling and regressions
--match_values:
_auto_amp:
how: normal
from: autoAmpNoteCount
is_joined: False
_auto_speaker:
how: normal
from: autoSpeakerNoteCount
is_joined: False
_num_leave:
how: rate
from: [autoLeavePoints, 2]
is_joined: False
_tele_amp:
how: normal
from: teleopAmpNoteCount
is_joined: False
_tele_speaker_all:
how: sum
from: [teleopSpeakerNoteCount, teleopSpeakerNoteAmplifiedCount]
is_joined: False
_total_gamepieces:
how: sum
from: [autoAmpNoteCount, autoSpeakerNoteCount, teleopSpeakerNoteCount, teleopSpeakerNoteAmplifiedCount]
is_joined: False
_num_park:
how: normal
from: endGameParkPoints
is_joined: False
_num_onstage:
how: rate
from: [endGameOnStagePoints, 3]
is_joined: False
_num_trap:
how: rate
from: [endGameNoteInTrapPoints, 5]
is_joined: False
_rel_score_diff:
how: rate
from: [_actual_score_no_foul_red, _actual_score_no_foul_blue]
is_joined: True
actual_score:
how: normal
from: totalPoints
is_joined: False
_actual_score_no_foul:
how: diff
from: [totalPoints, foulPoints]
is_joined: False
actual_score_auto:
how: normal
from: autoPoints
is_joined: False
actual_score_tele:
how: diff
from: [teleopPoints, endGameTotalStagePoints]
is_joined: False
actual_score_endgame:
how: normal
from: endGameTotalStagePoints
is_joined: False
actual_foul_points:
how: normal
from: foulPoints
is_joined: False
# RPs
actual_rp1: # Melody
how: threshold
from: [autoAmpNoteCount, autoSpeakerNoteCount, teleopAmpNoteCount, teleopSpeakerNoteCount, teleopSpeakerNoteAmplifiedCount, 21]
is_joined: False
actual_rp2: # Ensemble
how: bool
from: ensembleBonusAchieved
values: [0, 1]
is_joined: False
# Misc
cooperated:
how: normal
from: coopertitionBonusAchieved
is_joined: False
--regressions:
score:
dep: _actual_score_no_foul
indep: [_auto_speaker, _auto_amp, _num_leave, _tele_speaker_all, _tele_amp, _num_onstage, _num_trap, _num_park]
model_type: linear
is_joined: False
rp1:
dep: actual_rp1
indep: [_total_gamepieces]
model_type: logistic
is_joined: False
rp2:
dep: actual_rp2
indep: [_num_onstage, _num_trap, _num_park]
model_type: logistic
is_joined: False
win_chance:
dep: won_match
indep: [_rel_score_diff]
model_type: logistic
is_joined: True