A Twitter Bot in Groovy Script - Part 2

Just a quick update.

I’m trying to integrate my R2D2 Groovy Script into RapidMiner but I’ve run into problems. Originally I tried to copy and paste the groovy script from my last post directly into the Execute Script operator in RapidMiner (v7.2) but when I executed it, it failed. It gave me Classpath errors and problems calling the TwitterFactory Class.

I had installed the Twitter4j JAR file into my /lib directory and checked all my environmental path configurations. I was going nuts until I asked Helge from our Support group.

It turns out that many Java related security enhancements were made in RapidMiner v7.2. Most notably was the disabling of reflection” which is used by the TwitterFactory class in Twitter4j. This is what cause it blow up when I executed it.

Helge suggested to try it with version 7.1, and I did. It worked perfectly.

So what to do now? Either I build the entire Twitter Bot by hand in Groovy or I just go back to my Python one.


Up next Regular Expressions by Trial and Error Latest Writings Elsewhere for September 2016
Latest posts Revisiting GOOG, GE, NE, IYR from 2007 The Ye Old Blog List Motorola: Then and Now EWM Redux Testing for mean reversion with Python & developing simple VIX system - Talaikis unsorted - Tadas Talaikis Blog Steps to calculate centroids in cluster using K-means clustering algorithm - Data Science Central Basics of Statistical Mean Reversion Testing - QuantStart Algorithmic trading in less than 100 lines of Python code - O’Reilly Media Interpreting Machine Learning Models Microsoft the AI Powerhouse Investing in the S&P500 still beats AI Trading Microsoft makes a push to simplify machine learning | TechCrunch 10 Great Articles On Python Development — Hacker Noon Introduction to Keras Democratising Machine learning with H2O — Towards Data Science Getting started with Python datatable | Kaggle Phone Addiction Machine Learning Making Pesto Tastier 5 Dangerous Things You Should Let Your Kids Do The Pyschology of Writing Investing in 2019 and beyond TensorFlow and High Level APIs Driving Marketing Performance with H2O Driverless AI Machine Learning and Data Munging in H2O Driverless AI with datatable Making AI Happen Without Getting Fired Latest Musings from a Traveling Sales Engineer The Night before H2O World 2019 Why Forex Trading is Frustrating Functional Programming in Python Automatic Feature Engineering with Driverless AI Ray Dalio's Pure Alpha Fund