Real time prediction of online data using Spark Streaming and Machine Learning

Viewed 4399

How do design an architecture for real time transactional data for classifying as fraud or not?

Random forest classifier ML model is developed, trained and tested using historical data using Scala and Spark MLLib and persisted.

Real time transaction data is getting using Apache Kafka from one topic and Spark Streaming processed and writing to another topic for prediction by classifier ML model.

My concern: How do I provide and get predicted current transaction data recieved from Kafka topic using ML Mode mentioned above?

What is best practice for getting predicted online current single transaction data using already trained and tested ML model?

Any design suggestions are welcome.

1 Answers
Related