stats
stats
¶
Statistical performance signals.
StatsSignal
¶
Generate performance signals from statistical data.
Combines multiple statistical indicators into a unified score.
Initialize with custom weights for different stats.
| PARAMETER | DESCRIPTION |
|---|---|
weights
|
Weights for different statistics
TYPE:
|
Source code in fplx/signals/stats.py
compute_signal
¶
Compute aggregated signal score from player statistics.
| PARAMETER | DESCRIPTION |
|---|---|
player_data
|
Player historical data with engineered features
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
float
|
Aggregated signal score (0-100) |
Source code in fplx/signals/stats.py
batch_compute
¶
Compute signals for multiple players.
| PARAMETER | DESCRIPTION |
|---|---|
players_data
|
Dictionary mapping player ID/name to their data
TYPE:
|
| RETURNS | DESCRIPTION |
|---|---|
dict[str, float]
|
Dictionary of player signals |