I’ll blog again tomorrow but I’ve just finished one community webinar where my students fought off two trolls that stayed on for my entire presentation!

I can’t seem to shake off my excitement at my latest Python abomination.

Natural Language Processing is an advanced part of data science that allows us to write programs that can gauge the sentiment of a stock.

I took some code fragments and I spent two days figuring out how to do the following :

a) Parse an XML file because Yahoo Finance data feeds are in XML format and it produces a link to an article.
b) Parse an HTML file and strip out all the Javascript code and HTML tags so that the text can be read by a computer program.

My code came from an old data science textbook and I had to rewrite the code for it to run.

After this, it gets really exciting.

Advertisements