Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hyunji
/
CapstoneDesign2021-1
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Hyunji
2021-06-21 19:00:04 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
b8ee98dda17f6901d561f4939f406b80884f13d5
b8ee98dd
1 parent
5481d8e3
Delete age_prediction_graph_validation_set.py
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
age_prediction_graph_validation_set.py
age_prediction_graph_validation_set.py
deleted
100644 → 0
View file @
5481d8e
# -*- coding: utf-8 -*-
"""age-prediction_graph_validation_set.ipynb
Automatically generated by Colaboratory.
Original file is located at
https://colab.research.google.com/drive/16Rn0IDJTE6vJMOZtafDAI19AvGD9eK4C
"""
import
pandas
as
pd
import
matplotlib.pyplot
as
plt
plt
.
xlabel
(
"Age"
)
plt
.
ylabel
(
"Prediction"
)
df
=
pd
.
read_csv
(
'/content/drive/MyDrive/2d-slice-set-networks-for-brain-age-master/data/valid_pred - 시트1.csv'
)
df1
=
pd
.
DataFrame
(
df
)
.
T
corr
=
df
.
corr
(
method
=
'pearson'
)
print
(
corr
)
X
=
df
[
"Age"
]
y
=
df
[
"Prediction"
]
plt
.
plot
(
X
,
y
,
'o'
)
plt
.
plot
(
y
,
y
)
plt
.
show
\ No newline at end of file
Please
register
or
login
to post a comment