working RandomForest Res vs Cap component classifier
Python script version of ipython notebook