-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
7 changed files
with
206 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env python | ||
import numpy as np | ||
|
||
from pylab import gca | ||
|
||
labels = ["Baseline", "System"] | ||
data = [3.75 , 4.75] | ||
error = [0.3497 , 0.3108] | ||
|
||
xlocations = na.array(range(len(data)))+0.5 | ||
width = 0.6 | ||
# bar chart with hollow bars: | ||
bar(xlocations, data, yerr=error, width=width, edgecolor='k', facecolor='none') | ||
yticks(range(0, 8)) | ||
xticks(xlocations+ width/2, labels) | ||
xlim(0, xlocations[-1]+width*2) | ||
title("Average Ratings on the Training Set") | ||
gca().get_xaxis().tick_bottom() | ||
gca().get_yaxis().tick_left() | ||
|
||
show() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env python | ||
import numpy.numarray as na | ||
|
||
from pylab import * | ||
|
||
labels = ["Baseline", "System"] | ||
data = [3.75 , 4.75] | ||
error = [0.3497 , 0.3108] | ||
|
||
xlocations = na.array(range(len(data)))+0.5 | ||
width = 0.5 | ||
# bar chart with hollow bars: | ||
bar(xlocations, data, yerr=error, width=width, edgecolor='k', facecolor='none') | ||
yticks(range(0, 8)) | ||
xticks(xlocations+ width/2, labels) | ||
xlim(0, xlocations[-1]+width*2) | ||
title("Average Ratings on the Training Set") | ||
gca().get_xaxis().tick_bottom() | ||
gca().get_yaxis().tick_left() | ||
|
||
show() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
# github.com/AlDanial/cloc | ||
header : | ||
cloc_url : github.com/AlDanial/cloc | ||
cloc_version : 2.03 | ||
elapsed_seconds : 0.00476408004760742 | ||
n_files : 1 | ||
n_lines : 15 | ||
files_per_second : 209.904113702332 | ||
lines_per_second : 3148.56170553498 | ||
report_file : ../../../outputs/issues/862/diff_results.yaml | ||
added : | ||
'Python' : | ||
comment : 0 | ||
code : 0 | ||
blank : 0 | ||
nFiles : 0 | ||
same : | ||
'Python' : | ||
comment : 1 | ||
code : 13 | ||
blank : 0 | ||
nFiles : 0 | ||
modified : | ||
'Python' : | ||
comment : 0 | ||
code : 1 | ||
blank : 0 | ||
nFiles : 1 | ||
removed : | ||
'Python' : | ||
comment : 0 | ||
code : 0 | ||
blank : 0 | ||
nFiles : 0 | ||
SUM : | ||
added : | ||
nFiles : 0 | ||
comment : 0 | ||
code : 0 | ||
blank : 0 | ||
same : | ||
nFiles : 0 | ||
comment : 1 | ||
code : 13 | ||
blank : 0 | ||
modified : | ||
nFiles : 1 | ||
comment : 0 | ||
code : 1 | ||
blank : 0 | ||
removed : | ||
nFiles : 0 | ||
comment : 0 | ||
code : 0 | ||
blank : 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters