First question so please excuse any formalities I miss.
I am developing a system - the backend in Python, the frontend in PHP. The system will leverage a MongoDB database for a number of reasons. I plan to use an Object Document Mapper to make database lookups, and relationships, between pieces of data relatively trivial.
Adding this information as requested
The plan I envision is that the PHP interface would allow users to view the data, and navigate through to connected information, leveraging the relationship defined in the database. For example
Organisation > IP Ranges > IPs > TCP ports open on this IPs
The Python side is the system collecting this information, entering it into the database, and defining/establishing the relationship between the data (i.e. this IP range belongs to this organisation)
How a machine learning algorithm(Present in Spark MLlib) can be applied to Data collected from sensors in KAA. I haven't found any such use case built on KAA. My requirement is to collect the live streams of data, processing and cleaning the same and applying a machine leaning algorithm in KAA. I have done this by collecting the data using Apache nifi and through Kafka passing the data to Spark Streaming Application on which I am applying the machine learning algorithm.
I want to perform the same in KAA as an IoT platform.