Intelligent system for human activity recognition in IoT environment