Fixed indexing for skipping superpixels with void labels.
Fixed indexing for skipping superpixels with void labels.
Fixed indexing for skipping superpixels with void labels.
Print statement tidy-up in FeatureGenerator and SuperPixelClassifier
Print statement tidy-up in FeatureGenerator and SuperPixelClassifier
Changed assert on class versus label
Importing scikit-learn is a good idea.. doh
assert tidy
Random Forest classifier generates "sklearn/tree/tree.py", line 458, in fit     X = np.asarray(X, dtype=DTYPE, order=\'F\')   File "/usr/local/lib/python2.7/dist-packages/numpy/core/numeric.py", line 320, in asarray     return array(a, dtype, copy=False, order=order) ValueError: setting an array element with a sequence." exception.  So I tried a Logistic Regression classifier - which executes training as hoped.
Merging changes.
Merge branch 'master' of https://github.com/jsherrah/alienMarkovNetworks