Rapid Prototyping IoT Solutions Based on Machine Learning