Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2022-074
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
1
Merge Requests
1
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
2022-074
2022-074
Commits
c8d2213a
Commit
c8d2213a
authored
Jun 19, 2022
by
IT19110530-Pramodini A.A.D.A
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upload New File
parent
b7299ec8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
Yolo-Obj-Detection/box_plot_generation.py
Yolo-Obj-Detection/box_plot_generation.py
+34
-0
No files found.
Yolo-Obj-Detection/box_plot_generation.py
0 → 100644
View file @
c8d2213a
#REFERENCE BOXPLOT: https://www.geeksforgeeks.org/box-plot-in-python-using-matplotlib/
#REFERENCE EXCEL: https://stackabuse.com/reading-and-writing-excel-files-in-python-with-the-pandas-library/
import
matplotlib.pyplot
as
plt
import
numpy
as
np
import
pandas
as
pd
#immporting csv file
df
=
pd
.
read_csv
(
r'csv\csv_eyediap_n_detector\1_A_FT_M_DnE.csv'
)
print
(
df
)
detector_x_error
=
df
[
'eyediap_center_x'
]
-
df
[
'center_x'
]
detector_y_error
=
df
[
'eyediap_center_y'
]
-
df
[
'center_y'
]
print
(
'detector_x_error'
,
detector_x_error
,
'detector_y_error'
,
detector_y_error
)
#plotting bocplot graph
# Creating dataset
# np.random.seed(10)
# data = np.random.normal(y.x1, 20, 200)
# fig = plt.figure(figsize =(10, 7))
# # Creating plot
# plt.boxplot(data)
# # show plot
# plt.show()
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