Algorithms for Efficient Learning Systems: Online and Active Learning Approaches