Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
juobs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Javier Ugarrio
juobs
Commits
786a7c12
Commit
786a7c12
authored
2 years ago
by
Ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
flag strange bug
parent
379b2db9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/juobs_tools.jl
src/juobs_tools.jl
+2
-2
No files found.
src/juobs_tools.jl
View file @
786a7c12
...
...
@@ -48,9 +48,9 @@ end
function
apply_rw_flagged_strange
(
data
::
Vector
{
<:
Array
{
Float64
}},
id
::
String
)
if
id
==
"H105r001"
||
id
==
"H105"
flagged_cfg_r001
=
[
100
,
105
,
106
]
rew_r001
=
juobs
.
mean
(
-
2
*
length
(
flagged_cfg
)
+
length
(
data
[
:
,
1
]))
/
length
(
data
[
:
,
1
])
rew_r001
=
juobs
.
mean
(
-
2
*
length
(
flagged_cfg
_r001
)
+
length
(
data
[
:
,
1
]))
/
length
(
data
[
:
,
1
])
flagged_cfg_r002
=
[
1
]
rew_r002
=
juobs
.
mean
(
-
2
*
length
(
flagged_cfg
)
+
length
(
data
[
:
,
1
]))
/
length
(
data
[
:
,
1
])
rew_r002
=
juobs
.
mean
(
-
2
*
length
(
flagged_cfg
_r002
)
+
length
(
data
[
:
,
1
]))
/
length
(
data
[
:
,
1
])
for
i
in
flagged_cfg_r001
data
[
1
][
i
,
:
]
=
-
data
[
1
][
i
,
:
]
end
...
...
This diff is collapsed.
Click to expand it.
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