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
eb8b15b2
Commit
eb8b15b2
authored
2 years ago
by
Ale
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test flag strange
parent
34e68305
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/juobs_tools.jl
src/juobs_tools.jl
+2
-0
No files found.
src/juobs_tools.jl
View file @
eb8b15b2
...
...
@@ -22,6 +22,7 @@ function apply_rw(data::Vector{<:Array{Float64}}, W::Vector{Matrix{Float64}})
end
function
apply_rw_flagged_strange
(
data
::
Array
{
Float64
},
id
::
String
)
println
(
data
[
324
,
:
])
if
id
==
"J303r003"
||
id
==
"J303"
flagged_cfg
=
[
324
,
325
,
326
]
rew
=
juobs
.
mean
(
-
2
*
length
(
flagged_cfg
)
+
length
(
data
[
:
,
1
]))
/
length
(
data
[
:
,
1
])
...
...
@@ -41,6 +42,7 @@ function apply_rw_flagged_strange(data::Array{Float64}, id::String)
data
[
:
,
i
]
=
data
[
:
,
i
]
./
rew
end
end
println
(
data
[
324
,
:
])
return
data
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