Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LAKE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
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
Andrey Klenin
LAKE
Commits
b6a3c599
Commit
b6a3c599
authored
7 years ago
by
Victor Stepanenko
Browse files
Options
Downloads
Patches
Plain Diff
MAE calculation added to post-processing
parent
21c301c5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/plot_multtimser.py
+3
-1
3 additions, 1 deletion
tools/plot_multtimser.py
with
3 additions
and
1 deletion
tools/plot_multtimser.py
+
3
−
1
View file @
b6a3c599
...
...
@@ -39,9 +39,11 @@ if nplots > 1:
#RMSE
diff
=
var
[
0
]
-
var
[
1
]
#diff = nm.ma.masked_array(diff,nm.isnan(diff)) #removing NaNs
diff
=
abs
(
diff
)
mae
=
nm
.
sum
(
diff
)
/
len
(
diff
)
diff
=
diff
*
diff
rmse
=
(
nm
.
sum
(
diff
)
/
len
(
diff
))
**
0.5
print
(
'
RMSE =
'
,
rmse
,
'
; CC =
'
,
cc
[
0
,
1
],
'
; N =
'
,
len
(
diff
))
print
(
'
RMSE =
'
,
rmse
,
'
; CC =
'
,
cc
[
0
,
1
],
'
;MAE =
'
,
mae
,
'
; N =
'
,
len
(
diff
))
time_
=
nm
.
zeros
(
len
(
time
[
nplots
-
1
]))
time_
[:]
=
time
[
nplots
-
1
][:]
...
...
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