Skip to content

Commit

Permalink
add meta review len analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohua0116 committed Dec 20, 2019
1 parent 30d877c commit 08e8e84
Show file tree
Hide file tree
Showing 17 changed files with 3,484 additions and 3,344 deletions.
5,194 changes: 2,597 additions & 2,597 deletions README.md

Large diffs are not rendered by default.

Binary file added asset/decision.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/frequency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/logo_wordcloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added asset/meta_review_len_hist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/rating.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/rating_cumsum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/rating_difference.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/rating_frequency.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/rating_mean_difference.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/review_len_hist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/review_len_hist_rating.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified asset/wordcloud.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
1,624 changes: 882 additions & 742 deletions demo.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion download_all_paper.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2560,7 +2560,7 @@ curl -o On_The_Linguistic_Capacity_Of_Real-time_Counter_Automata.pdf https://ope
curl -o Zero-shot_Task_Adaptation_By_Homoiconic_Meta-mapping.pdf https://openreview.net/pdf?id=HyeX7aVKvr
curl -o Few-shot_One-class_Classification_Via_Meta-learning.pdf https://openreview.net/pdf?id=B1ltfgSYwS
curl -o Vl-bert:_Pre-training_Of_Generic_Visual-linguistic_Representations.pdf https://openreview.net/pdf?id=SygXPaEYvH
curl -o Unveiling_Hidden_Biases_In_Deep_Networks_With_Classification_Images_And_Spike_Triggered_Analysis.pdf https://openreview.net/pdf?id=H1ebhnEYDH
curl -o White_Noise_Analysis_Of_Neural_Networks.pdf https://openreview.net/pdf?id=H1ebhnEYDH
curl -o Learning_To_Rank_Learning_Curves.pdf https://openreview.net/pdf?id=BJxAHgSYDB
curl -o Deep_Symbolic_Superoptimization_Without_Human_Knowledge.pdf https://openreview.net/pdf?id=r1egIyBFPS
curl -o Evaluations_And_Methods_For_Explanation_Through_Robustness_Analysis.pdf https://openreview.net/pdf?id=Hye4KeSYDr
Expand Down
8 changes: 4 additions & 4 deletions util.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ def crawl_meta(meta_hdf5=None, write_meta_name='data.hdf5', crawl_review=False):
from selenium import webdriver
from selenium.webdriver.chrome.options import Options

# from pyvirtualdisplay import Display
# display = Display(visible=0, size=(800, 800))
# display.start()
from pyvirtualdisplay import Display
display = Display(visible=0, size=(800, 800))
display.start()

import time
executable_path = '/usr/local/bin/chromedriver'
Expand All @@ -113,7 +113,7 @@ def crawl_meta(meta_hdf5=None, write_meta_name='data.hdf5', crawl_review=False):
urls = [url.strip() for url in urls]

meta_list = []
wait_time = 0.5
wait_time = 0.25
max_try = 1000
for i, url in enumerate(urls):
browser.get(url)
Expand Down

0 comments on commit 08e8e84

Please sign in to comment.