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 18:54:47 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
36300ec64d70758ac0a363b0520fd694bf848580
36300ec6
1 parent
4b7f2b99
Upload new file
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
data_histogram_splited_dataset.py
data_histogram_splited_dataset.py
0 → 100644
View file @
36300ec
# -*- coding: utf-8 -*-
"""data_histogram_splited_dataset.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
dftr
=
pd
.
read_excel
(
'/content/drive/MyDrive/2d-slice-set-networks-for-brain-age-master/data/train0617.xls'
,
usecols
=
[
'Age'
])
dftst
=
pd
.
read_excel
(
'/content/drive/MyDrive/2d-slice-set-networks-for-brain-age-master/data/test06171.xls'
,
usecols
=
[
'Age'
])
dfv
=
pd
.
read_excel
(
'/content/drive/MyDrive/2d-slice-set-networks-for-brain-age-master/data/valid0617.xls'
,
usecols
=
[
'Age'
])
print
(
dftr
.
describe
())
print
(
dftst
.
describe
())
print
(
dfv
.
describe
())
plt
.
hist
(
dftr
[
'Age'
])
plt
.
hist
(
dftst
[
'Age'
])
plt
.
hist
(
dfv
[
'Age'
])
\ No newline at end of file
Please
register
or
login
to post a comment