I would like to build an LSTM network for text classification with PySpark, but I don't find any library or function about it.

Is it possible to implement this kind of network in Spark?


1 Answer 1


Apache Spark currently has no Deep Learning libraries. However, you can run TensorFlow models on clusters. According to this article "The TensorFlow library can be installed on Spark clusters as a regular Python library".

Additionally, I just found the SparkFlow module, that should be meant to interface Spark and TensorFlow. The GitHub repo is here.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.