In my last blog I demonstrated how to build a model that can predict if a stock is going up or down based on the news headlines using Spark MLLib. In this demo I will do the same – but with the help of OpenNLP.
The solution consists of the following components
- OpenNLP (Text Classification)
- My News-Digest fuctionality (which I have described in my last blogs)
- Investor (Determination of the stock prices to calculate the labels )
- confusion-matrix (to evaluate the Classification result)
The details can be found in the following Gist
0 Comments