Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MLAir
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
76
Issues
76
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
toar
MLAir
Commits
f3c6026c
Commit
f3c6026c
authored
Nov 11, 2020
by
lukas leufen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
just add a kz run script to separate standard hourly run and hourly + kz run
parent
99d89009
Pipeline
#51749
passed with stages
in 7 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
run_hourly_kz.py
run_hourly_kz.py
+31
-0
No files found.
run_hourly_kz.py
0 → 100644
View file @
f3c6026c
__author__
=
"Lukas Leufen"
__date__
=
'2019-11-14'
import
argparse
from
mlair.workflows
import
DefaultWorkflow
from
mlair.data_handler.data_handler_kz_filter
import
DataHandlerKzFilter
def
main
(
parser_args
):
args
=
dict
(
sampling
=
"hourly"
,
window_history_size
=
24
,
**
parser_args
.
__dict__
,
data_handler
=
DataHandlerKzFilter
,
kz_filter_length
=
[
365
*
24
,
20
*
24
],
# 13,5# , 4 * 24, 12, 6],
kz_filter_iter
=
[
3
,
5
],
# 3,4# , 3, 4, 4],
start
=
"2006-01-01"
,
train_start
=
"2006-01-01"
,
end
=
"2011-12-31"
,
test_end
=
"2011-12-31"
,
stations
=
[
"DEBW107"
,
"DEBW013"
]
)
workflow
=
DefaultWorkflow
(
**
args
)
workflow
.
run
()
if
__name__
==
"__main__"
:
parser
=
argparse
.
ArgumentParser
()
parser
.
add_argument
(
'--experiment_date'
,
metavar
=
'--exp_date'
,
type
=
str
,
default
=
None
,
help
=
"set experiment date as string"
)
args
=
parser
.
parse_args
([
"--experiment_date"
,
"testrun"
])
main
(
args
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment