We are using the HTM to detect anomalies in our Spark Streaming process.
After running our project the following exception arises during the deserialization:
java.io.InvalidClassException: no.uib.cipr.matrix.sparse.FlexCompRowMatrix; no valid constructor
It seems that the SDRClassifier uses FlexCompRowMatrix class and the FlexCompRowMatrix extends AbstractMatrix class which neither implements Serializable interface nor has a constructor with no-arg arguments.
Is it possible to do something to avoid the InvalidClassException in our case?
The used version is org.numenta/htm.java 0.6.13.