diff options
| author | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2015-02-04 10:07:50 -0500 |
|---|---|---|
| committer | jeanpouget-abadie <jean.pougetabadie@gmail.com> | 2015-02-04 10:07:50 -0500 |
| commit | b6be39f8c985a46ae6a1b777a82ae80ab1a02528 (patch) | |
| tree | 43d5eb58cc952d0ab1dec1620e403b4a8d23f523 /src/make_plots.py | |
| parent | 92ea33105921065e52bce2c1ec12b81bd5ad0fd9 (diff) | |
| download | cascades-b6be39f8c985a46ae6a1b777a82ae80ab1a02528.tar.gz | |
adding second try figure
Diffstat (limited to 'src/make_plots.py')
| -rw-r--r-- | src/make_plots.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make_plots.py b/src/make_plots.py index cbe027e..556d27a 100644 --- a/src/make_plots.py +++ b/src/make_plots.py @@ -49,12 +49,12 @@ def plot_graph(figure_name): plot information in a pretty way """ plt.clf() - x = [50, 100, 500, 1000, 2000, 5000] + x = [np.log(50), np.log(100), np.log(500), np.log(1000), np.log(2000), np.log(5000)] greedy = [.09, .15, .4, .63, .82, .92] lasso = [.07, .30, .46, .65, 0, 0] max_likel = [.21, .29, .67, .8, .87, .9] sparse_recov = [.25, .32, .7, .82, .89, .92] - plt.axis((0, 5000, 0, 1)) + plt.axis((0, np.log(6000), 0, 1)) plt.xlabel("Number of Cascades") plt.ylabel("F1 score") plt.grid(color="lightgrey") |
