-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nik Sauer
committed
Feb 24, 2025
1 parent
878e4d2
commit 8a2e8f1
Showing
1 changed file
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# City Current | ||
Berechnen der Mittelwerte der letzten Stunde (1h-Mittelwerte) | ||
## Filtering | ||
Beim Filtering werden die Daten nach Dimension gruppiert, dort werden nur Werte betrachtet die in den letzten 60 minuten gemessen wurden. | ||
|
||
Um die Datenqualität zu verbessern werden die kleinsten 5% und größten 5% aller Werte verworfen. Aus den übrigen 90% der Daten wird ein Mittelwert mittels dem Arithmetischen mittel berechnet. | ||
|
||
```python | ||
ALPHA = 0.1 | ||
l = np.percentile(a, 100 * (ALPHA / 2)) | ||
r = np.percentile(a, 100 * (1 - (ALPHA / 2))) | ||
|
||
``` |