Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Ethan Mertz
/
CS-123-Final
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f42709c3
authored
Jun 04, 2018
by
Ethan Mertz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleaning up repo
parent
538589d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
18 deletions
README.txt
histograms.py
README.txt
View file @
f42709c3
...
...
@@ -13,11 +13,9 @@ Python subdirectory: Contains the files used for our final Python analysis
-topvariables.py: Computes the least unique variable names.
-topvariables_intersection.py: Checks which variable files have the largest mean number of common variables with other files.
histogram.py: Used to construct the histograms for the report.
index.py: Creates the index file of tuples for the MapReduce jobs. Methodology detailed in the report.
plot_graph.py: Used to create the distance plot
in
the report.
plot_graph.py: Used to create the distance plot
and histograms for
the report.
runsim.sh: Used to send specific files for subset testing when there are other files in the directory so sending the entire directory is inefficient.
...
...
histograms.py
deleted
100644 → 0
View file @
538589d1
import
matplotlib.pyplot
as
plt
import
numpy
as
np
import
plotly.plotly
as
py
# tools to communicate with Plotly's server
import
plotly
plotly
.
tools
.
set_credentials_file
(
username
=
'ravibakhai'
,
api_key
=
'IBBKlxSe6zkg0osw8RFz'
)
'''
Takes a list of integers and outputs a histogram
'''
numpy_hist
=
plt
.
figure
()
plt
.
hist
([
1
,
2
,
1
],
bins
=
[
0
,
1
,
2
,
3
])
plot_url
=
py
.
plot_mpl
(
numpy_hist
,
filename
=
'numpy-bins'
)
\ No newline at end of file
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