Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DIA augmentation
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Léo Schneider
DIA augmentation
Commits
ad506869
Commit
ad506869
authored
5 months ago
by
Schneider Leo
Browse files
Options
Downloads
Patches
Plain Diff
rename output
parent
072d4711
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
data/data_viz.py
+11
-11
11 additions, 11 deletions
data/data_viz.py
with
11 additions
and
11 deletions
data/data_viz.py
+
11
−
11
View file @
ad506869
...
...
@@ -165,11 +165,11 @@ def plot_res():
def
calc_and_plot_res
():
all_data
=
[]
base
=
'
out_
early_stop_
'
for
name
in
[
'
ISA_noc_mox_ISA_noc_mox
'
,
'
ISA_noc_aug_005_mox_ISA_noc_mox
'
,
'
ISA_noc_aug_01_mox_ISA_noc_mox
'
,
'
ISA_noc
_aug_02_
mox_ISA_noc_mox
'
,
'
ISA_noc_aug_03_mox_ISA_noc_mox
'
,
'
ISA_noc_aug_04_mox_ISA_noc_mox
'
,
'
ISA_noc
_aug_05_
mox_ISA_noc_mox
'
,
'
ISA_noc_aug_07_mox_ISA_noc_mox
'
,
'
ISA_noc_aug_1_mox_ISA_noc_mox
'
,
'
ISA_noc
_aug_all_
mox_ISA_noc_mox
'
,
'
prosit_mod_ISA_noc_mox
'
]:
base
=
'
out_
'
for
name
in
[
'
early_stop_plasma_plasma
'
,
'
plasma_aug_005_plasma
'
,
'
plasma_aug_01_plasma
'
,
'
plasma
_aug_02_
plasma
'
,
'
plasma_aug_03_plasma
'
,
'
plasma_aug_04_plasma
'
,
'
plasma
_aug_05_
plasma
'
,
'
plasma_aug_07_plasma
'
,
'
plasma_aug_1_plasma
'
,
'
plasma
_aug_all_
plasma
'
,
'
prosit_plasma
'
]:
print
(
name
)
r2_list
=
[]
for
index
in
range
(
10
):
...
...
@@ -183,9 +183,9 @@ def calc_and_plot_res():
# adding horizontal grid lines
axs
.
yaxis
.
grid
(
True
)
axs
.
set_xticks
([
y
+
1
for
y
in
range
(
len
(
all_data
))],
labels
=
[
'
ISA_noc
'
,
'
Augm 0.05
'
,
'
Augm 0.1
'
,
'
Augm 0.2
'
,
'
Augm 0.3
'
,
'
Augm 0.4
'
,
'
Augm 0.5
'
,
'
Augm 0.7
'
,
labels
=
[
'
plasma
'
,
'
Augm 0.05
'
,
'
Augm 0.1
'
,
'
Augm 0.2
'
,
'
Augm 0.3
'
,
'
Augm 0.4
'
,
'
Augm 0.5
'
,
'
Augm 0.7
'
,
'
Augm 1
'
,
'
Augm all
'
,
'
Prosit
'
,
])
plt
.
savefig
(
'
../fig/model perf/summary_early_stop_
mox
.png
'
)
plt
.
savefig
(
'
../fig/model perf/summary_early_stop_
plasma
.png
'
)
def
error_by_methionine
(
dataframe
):
def
fonc
(
a
):
...
...
@@ -217,7 +217,7 @@ def filter_outlier_rt(dataframe):
return
df_out
if
__name__
==
'
__main__
'
:
#
calc_and_plot_res()
calc_and_plot_res
()
# base = ['plasma_plasma','plasma_prosit']
# # augmented = ['ISA_aug_07_ISA_noc','ISA_aug_1_ISA_noc','ISA_aug_all_ISA_noc']
# for f_suffix_name in base:
...
...
@@ -232,6 +232,6 @@ if __name__ == '__main__' :
# for number in range(10):
# df = pd.read_csv('../output/out_{}_{}.csv'.format('early_stop_ISA_noc_prosit',str(number)))
# error_by_methionine(df)
dataframe
=
pd
.
read_csv
(
'
../output/out_early_stop_plasma_prosit_0.csv
'
)
df
=
filter_outlier_rt
(
dataframe
)
df
.
to_csv
(
'
../data/data_PXD006109/data_prosit_outlier.csv
'
,
index
=
False
)
\ No newline at end of file
# dataframe = pd.read_csv('../output/out_early_stop_plasma_prosit_0.csv')
# df = filter_outlier_rt(dataframe)
# df.to_csv('../data/data_PXD006109/data_prosit_outlier.csv', index=False)
\ No newline at end of file
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