Difference between revisions of "Demo Day Page Parser"
|Line 69:||Line 69:|
Revision as of 15:12, 15 December 2017
|Demo Day Page Parser|
|Project Title||Demo Day Page Parser|
|Has project status||Active|
|Copyright © 2016 edegan.com. All Rights Reserved.|
The goal of this project is to leverage data mining with Selenium and Machine Learning to get good candidate web pages for Demo Days for accelerators. Relevant information on the project can be found on the Accelerator Data page.
The code directory for this project can be found:
The Selenium-based crawler can be found in the file below. This script runs a google search on accelerator names and keywords, and saves the urls and html pages for future use:
A script to rip from HTML to TXT can be found below. This script reads HTML files from the DemoDayHTML directory, and writes them to the DemoDayTxt directory:
A script to match Keywords (Accelerator and Cohort names) against the resulting text pages can be found in KeyTerms.py. The script takes the Keywords located in CohortAndAcceleratorsFullList.txt, and the text files in DemoDayTxt, and creates a file with the number of matches of each keyword against each text file.
The script can be found:
The Keyword matches text file can be found:
A script to determine the text files of webpages that have at least one hit of these key words can be found:
Downloading HTML Files with Selenium
The code for utilizing Selenium to download HTML files can be found in the DemoDayCrawler.py file.
The initial observation set over the data scraped 100 links for each of 20 sample accelerators from the list of overall accelerators. These sample pages were turned to text, and scored to remove web pages with no mention of relevant accelerators or companies.
Once the process was tweaked in response to the initial sample testing, the process ran again over all accelerators. The test determined that we needed take no more than 10 links for each accelerator, and that 'Demo Day' was a suitable search term.
These files hold data for all the accelerators: not just the test set.
The full list of accelerators:
The full list of potential keywords (used for throwing out irrelevant results):
A list of accelerators, queries, and urls:
A directory with HTML files for all accelerator demo day results:
A directory with TXT files for all accelerator demo day results:
A file with the name of the results that passed keyword matching:
The first pass through the data revealed articles that had thousands of hits for keyword matches. This seemed highly suspicious, so we dug in deeper to investigate the cause of this issue.
The following script in the same directory analyzes the keyword matches to determine the words with the highest number of hits.
After investigation, it was found that many company names were taken after common english words. Here are some of the companies causing issues along with their associated accelerator:
Matter, This., website
Fledge, HERE, website
LightBank Start, Zero
Entrepreneurs Roundtable Accelerator, SELECT
Y Combinator, Her
Y Combinator, Final
After removing these companies from consideration as keywords,