Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
multitrait_power_traitselection
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
Statistical-Genetics
multitrait_power_traitselection
Commits
5cfcaf27
Commit
5cfcaf27
authored
1 year ago
by
Yuka SUZUKI
Browse files
Options
Downloads
Patches
Plain Diff
removed two read_csv lines that are not necessary
parent
4da89ee2
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
Regression_analysis/scripts/5f-cross_validation_linear.py
+0
-4
0 additions, 4 deletions
Regression_analysis/scripts/5f-cross_validation_linear.py
with
0 additions
and
4 deletions
Regression_analysis/scripts/5f-cross_validation_linear.py
+
0
−
4
View file @
5cfcaf27
...
...
@@ -42,10 +42,6 @@ cor_p_train = []
cor_p_val
=
[]
df_jass_all
=
pd
.
DataFrame
()
for
i
in
[
2
,
3
,
4
,
5
,
6
]:
# run once to compute and save trait-set-level features
df_jass_training
.
to_csv
(
'
../inputs/traitset_jass_CVtraining{}-newSUMMARY_remove-nan.tsv
'
.
format
(
i
),
sep
=
'
\t
'
)
df_jass_test
.
to_csv
(
'
../inputs/traitset_jass_CVtest{}-newSUMMARY_remove-nan.tsv
'
.
format
(
i
),
sep
=
'
\t
'
)
# read the saved files
df_jass_training
=
pd
.
read_csv
(
'
../inputs/traitset_jass_CVtraining{}-newSUMMARY_remove-nan.tsv
'
.
format
(
i
),
delimiter
=
'
\t
'
)
df_jass_test
=
pd
.
read_csv
(
'
../inputs/traitset_jass_CVtest{}-newSUMMARY_remove-nan.tsv
'
.
format
(
i
),
delimiter
=
'
\t
'
)
...
...
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