Parallel and Streaming Wavelet Neural Networks for Classification and Regression under Apache Spark