Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
machine-learning
MLAir
Commits
ca24bfc1
Commit
ca24bfc1
authored
4 years ago
by
leufen1
Browse files
Options
Downloads
Patches
Plain Diff
updated run_mixed_sampling to have a running example regarding the current changes
parent
f0046284
No related branches found
No related tags found
3 merge requests
!226
Develop
,
!225
Resolve "release v1.2.0"
,
!208
Resolve "mixed sampling decouple interpolation"
Pipeline
#54836
passed
4 years ago
Stage: test
Stage: docs
Stage: pages
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run_mixed_sampling.py
+19
-8
19 additions, 8 deletions
run_mixed_sampling.py
with
19 additions
and
8 deletions
run_mixed_sampling.py
+
19
−
8
View file @
ca24bfc1
...
...
@@ -7,22 +7,33 @@ from mlair.workflows import DefaultWorkflow
from
mlair.data_handler.data_handler_mixed_sampling
import
DataHandlerMixedSampling
,
DataHandlerMixedSamplingWithFilter
,
\
DataHandlerSeparationOfScales
stats
=
{
'
o3
'
:
'
dma8eu
'
,
'
no
'
:
'
dma8eu
'
,
'
no2
'
:
'
dma8eu
'
,
'
relhum
'
:
'
average_values
'
,
'
u
'
:
'
average_values
'
,
'
v
'
:
'
average_values
'
,
'
cloudcover
'
:
'
average_values
'
,
'
pblheight
'
:
'
maximum
'
,
'
temp
'
:
'
maximum
'
}
data_origin
=
{
'
o3
'
:
''
,
'
no
'
:
''
,
'
no2
'
:
''
,
'
relhum
'
:
'
REA
'
,
'
u
'
:
'
REA
'
,
'
v
'
:
'
REA
'
,
'
cloudcover
'
:
'
REA
'
,
'
pblheight
'
:
'
REA
'
,
'
temp
'
:
'
REA
'
}
def
main
(
parser_args
):
args
=
dict
(
sampling
=
"
daily
"
,
sampling_inputs
=
"
hourly
"
,
window_history_size
=
24
,
**
parser_args
.
__dict__
,
data_handler
=
DataHandlerSeparationOfScales
,
args
=
dict
(
stations
=
[
"
DEBW107
"
,
"
DEBW013
"
],
network
=
"
UBA
"
,
evaluate_bootstraps
=
False
,
plot_list
=
[],
data_origin
=
data_origin
,
data_handler
=
DataHandlerMixedSampling
,
interpolation_limit
=
(
3
,
1
),
overwrite_local_data
=
False
,
sampling
=
(
"
hourly
"
,
"
daily
"
),
statistics_per_var
=
stats
,
create_new_model
=
False
,
train_model
=
False
,
epochs
=
1
,
window_history_size
=
48
,
kz_filter_length
=
[
100
*
24
,
15
*
24
],
kz_filter_iter
=
[
4
,
5
],
start
=
"
2006-01-01
"
,
train_start
=
"
2006-01-01
"
,
end
=
"
2011-12-31
"
,
test_end
=
"
2011-12-31
"
,
stations
=
[
"
DEBW107
"
,
"
DEBW013
"
],
epochs
=
100
,
network
=
"
UBA
"
,
**
parser_args
.
__dict__
,
)
workflow
=
DefaultWorkflow
(
**
args
)
workflow
.
run
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment